pub enum UInt12Error {
InsufficentData(usize),
ValueTooLargeUSize(usize),
ValueTooLargeU16(u16),
}
Variants§
Trait Implementations§
Source§impl Debug for UInt12Error
impl Debug for UInt12Error
Source§impl Display for UInt12Error
impl Display for UInt12Error
Source§impl Error for UInt12Error
impl Error for UInt12Error
1.30.0 · 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<UInt12Error> for ItemIdDataError
impl From<UInt12Error> for ItemIdDataError
Source§fn from(source: UInt12Error) -> Self
fn from(source: UInt12Error) -> Self
Converts to this type from the input type.
Source§impl From<UInt12Error> for ItemPointerError
impl From<UInt12Error> for ItemPointerError
Source§fn from(source: UInt12Error) -> Self
fn from(source: UInt12Error) -> Self
Converts to this type from the input type.
Source§impl From<UInt12Error> for PageDataError
impl From<UInt12Error> for PageDataError
Source§fn from(source: UInt12Error) -> Self
fn from(source: UInt12Error) -> 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.
Source§impl PartialEq for UInt12Error
impl PartialEq for UInt12Error
impl StructuralPartialEq for UInt12Error
Auto Trait Implementations§
impl Freeze for UInt12Error
impl RefUnwindSafe for UInt12Error
impl Send for UInt12Error
impl Sync for UInt12Error
impl Unpin for UInt12Error
impl UnwindSafe for UInt12Error
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