Enum bonsaidb::local::vault::LocalVaultKeyStorageError
source · pub enum LocalVaultKeyStorageError {
Io(Error),
Serialization(Box<ErrorKind>),
InvalidFile,
}
Expand description
Errors from local vault key storage.
Variants§
Io(Error)
An error interacting with the filesystem.
Serialization(Box<ErrorKind>)
An error serializing or deserializing the keys.
InvalidFile
The file was not the correct size.
Trait Implementations§
source§impl Debug for LocalVaultKeyStorageError
impl Debug for LocalVaultKeyStorageError
source§impl Display for LocalVaultKeyStorageError
impl Display for LocalVaultKeyStorageError
source§impl Error for LocalVaultKeyStorageError
impl Error for LocalVaultKeyStorageError
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<Error> for LocalVaultKeyStorageError
impl From<Error> for LocalVaultKeyStorageError
source§fn from(source: Error) -> LocalVaultKeyStorageError
fn from(source: Error) -> LocalVaultKeyStorageError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LocalVaultKeyStorageError
impl Send for LocalVaultKeyStorageError
impl Sync for LocalVaultKeyStorageError
impl Unpin for LocalVaultKeyStorageError
impl !UnwindSafe for LocalVaultKeyStorageError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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