pub enum FileVaultError {
Io(Error),
MalformedLength {
found: u64,
},
BlobOutgrewBuffer {
blob_len: usize,
buffer_len: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for FileVaultError
impl Debug for FileVaultError
Source§impl Display for FileVaultError
impl Display for FileVaultError
Source§impl Error for FileVaultError
impl Error for FileVaultError
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<Error> for FileVaultError
impl From<Error> for FileVaultError
Source§fn from(error: Error) -> FileVaultError
fn from(error: Error) -> FileVaultError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FileVaultError
impl !UnwindSafe for FileVaultError
impl Freeze for FileVaultError
impl Send for FileVaultError
impl Sync for FileVaultError
impl Unpin for FileVaultError
impl UnsafeUnpin for FileVaultError
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