pub enum BinpackError {
Io(Error),
InvalidMagic,
InvalidFormat(String),
}Variants§
Trait Implementations§
Source§impl Debug for BinpackError
impl Debug for BinpackError
Source§impl Display for BinpackError
impl Display for BinpackError
Source§impl Error for BinpackError
impl Error for BinpackError
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<BinpackError> for CompressedReaderError
impl From<BinpackError> for CompressedReaderError
Source§fn from(source: BinpackError) -> Self
fn from(source: BinpackError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BinpackError
impl !RefUnwindSafe for BinpackError
impl Send for BinpackError
impl Sync for BinpackError
impl Unpin for BinpackError
impl !UnwindSafe for BinpackError
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