pub enum VaultError {
Show 15 variants
FilesystemError(String),
UnsupportedDataError(String),
InvalidDataError(String),
IncorrectIdError,
IncorrectBlockchainError,
ConversionError(ConversionError),
UnrecognizedError,
PasswordRequired,
DataNotFound,
InvalidPrivateKey,
PrivateKeyUnavailable,
PublicKeyUnavailable,
CryptoFailed(CryptoError),
HWKeyFailed(HWKeyError),
GlobalKeyRequired,
}Variants§
FilesystemError(String)
UnsupportedDataError(String)
InvalidDataError(String)
IncorrectIdError
IncorrectBlockchainError
ConversionError(ConversionError)
UnrecognizedError
PasswordRequired
DataNotFound
InvalidPrivateKey
CryptoFailed(CryptoError)
HWKeyFailed(HWKeyError)
GlobalKeyRequired
Trait Implementations§
Source§impl Clone for VaultError
impl Clone for VaultError
Source§fn clone(&self) -> VaultError
fn clone(&self) -> VaultError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VaultError
impl Debug for VaultError
Source§impl Display for VaultError
impl Display for VaultError
Source§impl From<()> for VaultError
impl From<()> for VaultError
Source§impl From<ConversionError> for VaultError
impl From<ConversionError> for VaultError
Source§fn from(err: ConversionError) -> Self
fn from(err: ConversionError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoError> for VaultError
impl From<CryptoError> for VaultError
Source§fn from(err: CryptoError) -> Self
fn from(err: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for VaultError
impl From<Error> for VaultError
Source§impl From<Error> for VaultError
impl From<Error> for VaultError
Source§impl From<Error> for VaultError
impl From<Error> for VaultError
Source§impl From<Error> for VaultError
impl From<Error> for VaultError
Source§impl From<Error> for VaultError
impl From<Error> for VaultError
Source§impl From<FromHexError> for VaultError
impl From<FromHexError> for VaultError
Source§fn from(err: FromHexError) -> Self
fn from(err: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<HWKeyError> for VaultError
impl From<HWKeyError> for VaultError
Source§fn from(err: HWKeyError) -> Self
fn from(err: HWKeyError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for VaultError
impl From<Infallible> for VaultError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<ProtobufError> for VaultError
impl From<ProtobufError> for VaultError
Source§fn from(err: ProtobufError) -> Self
fn from(err: ProtobufError) -> Self
Converts to this type from the input type.
Source§impl From<String> for VaultError
impl From<String> for VaultError
Source§impl From<VaultError> for MigrationError
impl From<VaultError> for MigrationError
Source§fn from(err: VaultError) -> Self
fn from(err: VaultError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VaultError
impl PartialEq for VaultError
impl StructuralPartialEq for VaultError
Auto Trait Implementations§
impl Freeze for VaultError
impl RefUnwindSafe for VaultError
impl Send for VaultError
impl Sync for VaultError
impl Unpin for VaultError
impl UnwindSafe for VaultError
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> 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