pub struct InvalidCompressionLevel { /* private fields */ }Expand description
Error returned when a numeric compression level is outside the supported fast or positive ranges.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidCompressionLevel
impl Clone for InvalidCompressionLevel
impl Copy for InvalidCompressionLevel
Source§impl Debug for InvalidCompressionLevel
impl Debug for InvalidCompressionLevel
Source§impl Display for InvalidCompressionLevel
impl Display for InvalidCompressionLevel
impl Eq for InvalidCompressionLevel
Source§impl Error for InvalidCompressionLevel
Available on crate feature std only.
impl Error for InvalidCompressionLevel
Available on crate feature
std only.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 PartialEq for InvalidCompressionLevel
impl PartialEq for InvalidCompressionLevel
impl StructuralPartialEq for InvalidCompressionLevel
Auto Trait Implementations§
impl Freeze for InvalidCompressionLevel
impl RefUnwindSafe for InvalidCompressionLevel
impl Send for InvalidCompressionLevel
impl Sync for InvalidCompressionLevel
impl Unpin for InvalidCompressionLevel
impl UnsafeUnpin for InvalidCompressionLevel
impl UnwindSafe for InvalidCompressionLevel
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