pub enum CompressedReaderError {
Io(Error),
InvalidFormat(String),
EndOfFile,
BinpackError(BinpackError),
}Variants§
Trait Implementations§
Source§impl Debug for CompressedReaderError
impl Debug for CompressedReaderError
Source§impl Display for CompressedReaderError
impl Display for CompressedReaderError
Source§impl Error for CompressedReaderError
impl Error for CompressedReaderError
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 CompressedReaderError
impl !RefUnwindSafe for CompressedReaderError
impl Send for CompressedReaderError
impl Sync for CompressedReaderError
impl Unpin for CompressedReaderError
impl !UnwindSafe for CompressedReaderError
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