pub enum KeyFileError {
Show 19 variants
DirectoryCreation(String),
MetadataError(String),
FileNotFound(String),
NotReadable(String),
NotWritable(String),
FileOpen(String),
FileRead(String),
FileWrite(String),
PermissionError(String),
SerializationError(String),
DeserializationError(String),
EncryptionError(String),
DecryptionError(String),
InvalidEncryption(String),
EnvVarError(String),
PasswordError(String),
Base64DecodeError(String),
Base64EncodeError(String),
Generic(String),
}Variants§
DirectoryCreation(String)
MetadataError(String)
FileNotFound(String)
NotReadable(String)
NotWritable(String)
FileOpen(String)
FileRead(String)
FileWrite(String)
PermissionError(String)
SerializationError(String)
DeserializationError(String)
EncryptionError(String)
DecryptionError(String)
InvalidEncryption(String)
EnvVarError(String)
PasswordError(String)
Base64DecodeError(String)
Base64EncodeError(String)
Generic(String)
Trait Implementations§
Source§impl Debug for KeyFileError
impl Debug for KeyFileError
Source§impl Display for KeyFileError
impl Display for KeyFileError
Source§impl Error for KeyFileError
impl Error for KeyFileError
1.30.0 · 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 From<KeyFileError> for WalletError
impl From<KeyFileError> for WalletError
Source§fn from(source: KeyFileError) -> Self
fn from(source: KeyFileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyFileError
impl RefUnwindSafe for KeyFileError
impl Send for KeyFileError
impl Sync for KeyFileError
impl Unpin for KeyFileError
impl UnsafeUnpin for KeyFileError
impl UnwindSafe for KeyFileError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.