pub enum CompressorError {
Full,
Brotli,
}
Expand description
An error returned by the compressor.
Variants§
Trait Implementations§
Source§impl Clone for CompressorError
impl Clone for CompressorError
Source§fn clone(&self) -> CompressorError
fn clone(&self) -> CompressorError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompressorError
impl Debug for CompressorError
Source§impl Display for CompressorError
impl Display for CompressorError
Source§impl Error for CompressorError
impl Error for CompressorError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CompressorError> for ChannelOutError
impl From<CompressorError> for ChannelOutError
Source§fn from(source: CompressorError) -> ChannelOutError
fn from(source: CompressorError) -> ChannelOutError
Converts to this type from the input type.
Source§impl PartialEq for CompressorError
impl PartialEq for CompressorError
impl Copy for CompressorError
impl Eq for CompressorError
impl StructuralPartialEq for CompressorError
Auto Trait Implementations§
impl Freeze for CompressorError
impl RefUnwindSafe for CompressorError
impl Send for CompressorError
impl Sync for CompressorError
impl Unpin for CompressorError
impl UnwindSafe for CompressorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more