Enum bonsaidb::local::vault::LocalVaultKeyStorageError
pub enum LocalVaultKeyStorageError {
Io(Error),
Serialization(Box<ErrorKind, Global>),
InvalidFile,
}
Expand description
Errors from local vault key storage.
Variants§
Io(Error)
An error interacting with the filesystem.
Serialization(Box<ErrorKind, Global>)
An error serializing or deserializing the keys.
InvalidFile
The file was not the correct size.
Trait Implementations§
§impl Debug for LocalVaultKeyStorageError
impl Debug for LocalVaultKeyStorageError
§impl Display for LocalVaultKeyStorageError
impl Display for LocalVaultKeyStorageError
§impl Error for LocalVaultKeyStorageError
impl Error for LocalVaultKeyStorageError
§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()
§impl From<Error> for LocalVaultKeyStorageError
impl From<Error> for LocalVaultKeyStorageError
§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