pub enum BZip2Error {
DataError,
DataErrorMagicFirst,
DataErrorMagic,
UnexpectedEof,
Unexpected,
}Variants§
Trait Implementations§
Source§impl Clone for BZip2Error
impl Clone for BZip2Error
Source§fn clone(&self) -> BZip2Error
fn clone(&self) -> BZip2Error
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BZip2Error
impl Debug for BZip2Error
Source§impl Display for BZip2Error
impl Display for BZip2Error
Source§impl Error for BZip2Error
impl Error for BZip2Error
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<BZip2Error> for CompressionError
impl From<BZip2Error> for CompressionError
Source§fn from(error: BZip2Error) -> Self
fn from(error: BZip2Error) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BZip2Error
impl PartialEq for BZip2Error
impl Copy for BZip2Error
impl Eq for BZip2Error
impl StructuralPartialEq for BZip2Error
Auto Trait Implementations§
impl Freeze for BZip2Error
impl RefUnwindSafe for BZip2Error
impl Send for BZip2Error
impl Sync for BZip2Error
impl Unpin for BZip2Error
impl UnwindSafe for BZip2Error
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