pub enum PageHeaderError {
InsufficentFreeSpace(),
TooLarge(UInt12Error),
InsufficentData(usize),
LowerOffsetTooLarge(),
UpperOffsetTooLarge(),
}
Variants§
InsufficentFreeSpace()
TooLarge(UInt12Error)
InsufficentData(usize)
LowerOffsetTooLarge()
UpperOffsetTooLarge()
Trait Implementations§
Source§impl Debug for PageHeaderError
impl Debug for PageHeaderError
Source§impl Display for PageHeaderError
impl Display for PageHeaderError
Source§impl Error for PageHeaderError
impl Error for PageHeaderError
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<PageHeaderError> for PageDataError
impl From<PageHeaderError> for PageDataError
Source§fn from(source: PageHeaderError) -> Self
fn from(source: PageHeaderError) -> Self
Converts to this type from the input type.
Source§impl From<UInt12Error> for PageHeaderError
impl From<UInt12Error> for PageHeaderError
Source§fn from(source: UInt12Error) -> Self
fn from(source: UInt12Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageHeaderError
impl RefUnwindSafe for PageHeaderError
impl Send for PageHeaderError
impl Sync for PageHeaderError
impl Unpin for PageHeaderError
impl UnwindSafe for PageHeaderError
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