Enum compression::prelude::CompressionError
source · pub enum CompressionError {
DataError,
UnexpectedEof,
Unexpected,
}
Variants
DataError
UnexpectedEof
Unexpected
Trait Implementations
sourceimpl Clone for CompressionError
impl Clone for CompressionError
sourcefn clone(&self) -> CompressionError
fn clone(&self) -> CompressionError
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 CompressionError
impl Debug for CompressionError
sourceimpl Display for CompressionError
impl Display for CompressionError
sourceimpl Error for CompressionError
impl Error for CompressionError
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<CompressionError> for CompressionError
impl PartialEq<CompressionError> for CompressionError
sourcefn eq(&self, other: &CompressionError) -> bool
fn eq(&self, other: &CompressionError) -> bool
impl Copy for CompressionError
impl Eq for CompressionError
impl StructuralEq for CompressionError
impl StructuralPartialEq for CompressionError
Auto Trait Implementations
impl RefUnwindSafe for CompressionError
impl Send for CompressionError
impl Sync for CompressionError
impl Unpin for CompressionError
impl UnwindSafe for CompressionError
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