pub enum RegisterVcEmulationEpochError<StorageError> {
SafeExportSecret(SafeExportSecretError<StorageError>),
VirtualClients(VirtualClientsError),
Storage(StorageError),
}Available on crate feature
virtual-clients-draft and (32-bit or 64-bit) only.Expand description
Errors returned by
MlsGroup::register_vc_emulation_epoch.
Variants§
SafeExportSecret(SafeExportSecretError<StorageError>)
See SafeExportSecretError for more details.
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 RegisterVcEmulationEpochError<StorageError>
impl<StorageError: Clone> Clone for RegisterVcEmulationEpochError<StorageError>
Source§fn clone(&self) -> RegisterVcEmulationEpochError<StorageError>
fn clone(&self) -> RegisterVcEmulationEpochError<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 RegisterVcEmulationEpochError<StorageError>
impl<StorageError: Debug> Debug for RegisterVcEmulationEpochError<StorageError>
Source§impl<StorageError> Display for RegisterVcEmulationEpochError<StorageError>where
SafeExportSecretError<StorageError>: Display,
impl<StorageError> Display for RegisterVcEmulationEpochError<StorageError>where
SafeExportSecretError<StorageError>: Display,
Source§impl<StorageError> Error for RegisterVcEmulationEpochError<StorageError>
impl<StorageError> Error for RegisterVcEmulationEpochError<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<SafeExportSecretError<StorageError>> for RegisterVcEmulationEpochError<StorageError>
impl<StorageError> From<SafeExportSecretError<StorageError>> for RegisterVcEmulationEpochError<StorageError>
Source§fn from(source: SafeExportSecretError<StorageError>) -> Self
fn from(source: SafeExportSecretError<StorageError>) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<VirtualClientsError> for RegisterVcEmulationEpochError<StorageError>
impl<StorageError> From<VirtualClientsError> for RegisterVcEmulationEpochError<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 RegisterVcEmulationEpochError<StorageError>
impl<StorageError: PartialEq> PartialEq for RegisterVcEmulationEpochError<StorageError>
impl<StorageError: PartialEq> StructuralPartialEq for RegisterVcEmulationEpochError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for RegisterVcEmulationEpochError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for RegisterVcEmulationEpochError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for RegisterVcEmulationEpochError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for RegisterVcEmulationEpochError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for RegisterVcEmulationEpochError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnsafeUnpin for RegisterVcEmulationEpochError<StorageError>where
StorageError: UnsafeUnpin,
impl<StorageError> UnwindSafe for RegisterVcEmulationEpochError<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