pub enum V2Error {
InvalidFileHeader,
InvalidPageHeader(u64),
UnsupportedCodec(u8),
UnsupportedEncoding(u8),
PageOverflow {
compressed: usize,
capacity: usize,
},
FrameTooLarge,
KeyOrderViolation,
ChecksumMismatch,
Core(FwobError),
Io(Error),
}Variants§
InvalidFileHeader
InvalidPageHeader(u64)
UnsupportedCodec(u8)
UnsupportedEncoding(u8)
PageOverflow
FrameTooLarge
KeyOrderViolation
ChecksumMismatch
Core(FwobError)
Io(Error)
Trait Implementations§
Source§impl Error for V2Error
impl Error for V2Error
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 !RefUnwindSafe for V2Error
impl !UnwindSafe for V2Error
impl Freeze for V2Error
impl Send for V2Error
impl Sync for V2Error
impl Unpin for V2Error
impl UnsafeUnpin for V2Error
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