Enum iota_stronghold::types::ClientError
source · #[non_exhaustive]pub enum ClientError {
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LockAcquireFailed
NoReadAccess
NoWriteAccess
NoValuePresent(String)
Inner(String)
Engine(String)
Provider(String)
ClientDataNotPresent
ConnectionFailure(String)
SnapshotFileMissing(String)
IllegalKeySize(usize)
SnapshotKeyLocationMissing
ClientAlreadyLoaded(ClientId)
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<<Provider as BoxProvider>::Error> for ClientError
impl From<<Provider as BoxProvider>::Error> for ClientError
source§impl From<ClientError> for SnapshotError
impl From<ClientError> for SnapshotError
source§fn from(e: ClientError) -> Self
fn from(e: ClientError) -> Self
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for ClientError
impl<T> From<PoisonError<T>> for ClientError
source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl From<RecordError<<Provider as BoxProvider>::Error>> for ClientError
impl From<RecordError<<Provider as BoxProvider>::Error>> for ClientError
source§fn from(e: RecordError) -> Self
fn from(e: RecordError) -> Self
Converts to this type from the input type.
source§impl From<SnapshotError> for ClientError
impl From<SnapshotError> for ClientError
source§fn from(se: SnapshotError) -> Self
fn from(se: SnapshotError) -> Self
Converts to this type from the input type.
source§impl<T> From<TryLockError<T>> for ClientError
impl<T> From<TryLockError<T>> for ClientError
source§fn from(_: TryLockError<T>) -> Self
fn from(_: TryLockError<T>) -> Self
Converts to this type from the input type.
source§impl<E: Debug> From<VaultError<<Provider as BoxProvider>::Error, E>> for ClientError
impl<E: Debug> From<VaultError<<Provider as BoxProvider>::Error, E>> for ClientError
source§fn from(e: VaultError<E>) -> Self
fn from(e: VaultError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientError
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnwindSafe for ClientError
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