Enum compression::prelude::CompressionError [−][src]
pub enum CompressionError { DataError, UnexpectedEof, Unexpected, }
Variants
DataError
UnexpectedEof
Unexpected
Trait Implementations
impl Debug for CompressionError
[src]
impl Debug for CompressionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CompressionError
[src]
impl Clone for CompressionError
fn clone(&self) -> CompressionError
[src]
fn clone(&self) -> CompressionError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for CompressionError
[src]
impl Copy for CompressionError
impl PartialEq for CompressionError
[src]
impl PartialEq for CompressionError
fn eq(&self, other: &CompressionError) -> bool
[src]
fn eq(&self, other: &CompressionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for CompressionError
[src]
impl Eq for CompressionError
impl Display for CompressionError
[src]
impl Display for CompressionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for CompressionError
[src]
impl Error for CompressionError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<BZip2Error> for CompressionError
[src]
impl From<BZip2Error> for CompressionError
fn from(error: BZip2Error) -> Self
[src]
fn from(error: BZip2Error) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for CompressionError
impl Send for CompressionError
impl Sync for CompressionError
impl Sync for CompressionError