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 CompressionErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for CompressionError[src]
impl Display for CompressionErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for CompressionError[src]
impl Error for CompressionErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 Errorfn from(err: CompressionError) -> Error[src]
fn from(err: CompressionError) -> ErrorPerforms the conversion.
Auto Trait Implementations
impl Send for CompressionError
impl Send for CompressionErrorimpl Sync for CompressionError
impl Sync for CompressionError