pub enum LocalVaultKeyStorageError {
Io(Error),
Serialization(Error),
InvalidFile,
}
Expand description
Errors from local vault key storage.
Variants§
Io(Error)
An error interacting with the filesystem.
Serialization(Error)
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()
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§
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