Enum compression::prelude::BZip2Error
source · pub enum BZip2Error {
DataError,
DataErrorMagicFirst,
DataErrorMagic,
UnexpectedEof,
Unexpected,
}
Variants
DataError
DataErrorMagicFirst
DataErrorMagic
UnexpectedEof
Unexpected
Trait Implementations
sourceimpl Clone for BZip2Error
impl Clone for BZip2Error
sourcefn clone(&self) -> BZip2Error
fn clone(&self) -> BZip2Error
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BZip2Error
impl Debug for BZip2Error
sourceimpl Display for BZip2Error
impl Display for BZip2Error
sourceimpl Error for BZip2Error
impl Error for BZip2Error
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<BZip2Error> for CompressionError
impl From<BZip2Error> for CompressionError
sourcefn from(error: BZip2Error) -> Self
fn from(error: BZip2Error) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<BZip2Error> for BZip2Error
impl PartialEq<BZip2Error> for BZip2Error
sourcefn eq(&self, other: &BZip2Error) -> bool
fn eq(&self, other: &BZip2Error) -> bool
impl Copy for BZip2Error
impl Eq for BZip2Error
impl StructuralEq for BZip2Error
impl StructuralPartialEq for BZip2Error
Auto Trait Implementations
impl RefUnwindSafe for BZip2Error
impl Send for BZip2Error
impl Sync for BZip2Error
impl Unpin for BZip2Error
impl UnwindSafe for BZip2Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more