Enum cdrs::compression::CompressionError [−][src]
It's an error which may occure during encoding or deconding frame body. As there are only two types of compressors it contains two related enum options.
Variants
Snappy(Error)
Snappy error.
Lz4(Error)
Lz4 error.
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 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>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<CompressionError> for Error
[src]
impl From<CompressionError> for Error
fn from(err: CompressionError) -> Error
[src]
fn from(err: CompressionError) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for CompressionError
impl Send for CompressionError
impl Sync for CompressionError
impl Sync for CompressionError