pub enum RegisterVcDerivationEpochError<StorageError> {
ApplicationExportTree(ApplicationExportTreeError),
MissingApplicationExportTree,
VirtualClients(VirtualClientsError),
Storage(StorageError),
}Available on crate feature
virtual-clients-draft and (32-bit or 64-bit) only.Expand description
Errors returned when deriving and persisting the state of a virtual-clients derivation epoch. OpenMLS does this implicitly for emulation groups, so this error is always wrapped in the error of the operation that triggered the registration.
Variants§
ApplicationExportTree(ApplicationExportTreeError)
Puncturing the application exporter for the virtual-clients
component failed. See
ApplicationExportTreeError for
more details.
MissingApplicationExportTree
The emulation group has no application export tree to source the derivation epoch from. This happens when a group stored by an OpenMLS version without application-exporter support is marked as an emulation group.
VirtualClients(VirtualClientsError)
See VirtualClientsError
for more details.
Storage(StorageError)
Persisting the derived virtual-clients state to storage failed.
Trait Implementations§
Source§impl<StorageError: Clone> Clone for RegisterVcDerivationEpochError<StorageError>
impl<StorageError: Clone> Clone for RegisterVcDerivationEpochError<StorageError>
Source§fn clone(&self) -> RegisterVcDerivationEpochError<StorageError>
fn clone(&self) -> RegisterVcDerivationEpochError<StorageError>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<StorageError: Debug> Debug for RegisterVcDerivationEpochError<StorageError>
impl<StorageError: Debug> Debug for RegisterVcDerivationEpochError<StorageError>
Source§impl<StorageError> Display for RegisterVcDerivationEpochError<StorageError>
impl<StorageError> Display for RegisterVcDerivationEpochError<StorageError>
Source§impl<StorageError> Error for RegisterVcDerivationEpochError<StorageError>
impl<StorageError> Error for RegisterVcDerivationEpochError<StorageError>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<StorageError> From<PprfError> for RegisterVcDerivationEpochError<StorageError>
impl<StorageError> From<PprfError> for RegisterVcDerivationEpochError<StorageError>
Source§fn from(source: ApplicationExportTreeError) -> Self
fn from(source: ApplicationExportTreeError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<RegisterVcDerivationEpochError<StorageError>> for WelcomeError<StorageError>
impl<StorageError> From<RegisterVcDerivationEpochError<StorageError>> for WelcomeError<StorageError>
Source§fn from(source: RegisterVcDerivationEpochError<StorageError>) -> Self
fn from(source: RegisterVcDerivationEpochError<StorageError>) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<RegisterVcDerivationEpochError<StorageError>> for MergeCommitError<StorageError>
impl<StorageError> From<RegisterVcDerivationEpochError<StorageError>> for MergeCommitError<StorageError>
Source§fn from(source: RegisterVcDerivationEpochError<StorageError>) -> Self
fn from(source: RegisterVcDerivationEpochError<StorageError>) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<RegisterVcDerivationEpochError<StorageError>> for NewGroupError<StorageError>
impl<StorageError> From<RegisterVcDerivationEpochError<StorageError>> for NewGroupError<StorageError>
Source§fn from(source: RegisterVcDerivationEpochError<StorageError>) -> Self
fn from(source: RegisterVcDerivationEpochError<StorageError>) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<VirtualClientsError> for RegisterVcDerivationEpochError<StorageError>
impl<StorageError> From<VirtualClientsError> for RegisterVcDerivationEpochError<StorageError>
Source§fn from(source: VirtualClientsError) -> Self
fn from(source: VirtualClientsError) -> Self
Converts to this type from the input type.
Source§impl<StorageError: PartialEq> PartialEq for RegisterVcDerivationEpochError<StorageError>
impl<StorageError: PartialEq> PartialEq for RegisterVcDerivationEpochError<StorageError>
impl<StorageError: PartialEq> StructuralPartialEq for RegisterVcDerivationEpochError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for RegisterVcDerivationEpochError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for RegisterVcDerivationEpochError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for RegisterVcDerivationEpochError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for RegisterVcDerivationEpochError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for RegisterVcDerivationEpochError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnsafeUnpin for RegisterVcDerivationEpochError<StorageError>where
StorageError: UnsafeUnpin,
impl<StorageError> UnwindSafe for RegisterVcDerivationEpochError<StorageError>where
StorageError: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more