pub enum EncFileError {
Io(Error),
Crypto,
UnsupportedVersion(u16),
UnsupportedAead(u8),
UnsupportedKdf(u8),
Malformed,
Invalid(&'static str),
Cbor(Error<Error>),
CborSer(Error<Error>),
}Expand description
Library error type (no panics for expected failures).
Variants§
Io(Error)
Crypto
UnsupportedVersion(u16)
UnsupportedAead(u8)
UnsupportedKdf(u8)
Malformed
Invalid(&'static str)
Cbor(Error<Error>)
CborSer(Error<Error>)
Trait Implementations§
Source§impl Debug for EncFileError
impl Debug for EncFileError
Source§impl Display for EncFileError
impl Display for EncFileError
Source§impl Error for EncFileError
impl Error for EncFileError
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()
Auto Trait Implementations§
impl Freeze for EncFileError
impl !RefUnwindSafe for EncFileError
impl Send for EncFileError
impl Sync for EncFileError
impl Unpin for EncFileError
impl !UnwindSafe for EncFileError
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