pub enum CompressionLvlError {
InvalidValue,
}Expand description
Errors that can be returned when attempting to create a
CompressionLvl from a numeric value.
Variants§
InvalidValue
Trait Implementations§
Source§impl Clone for CompressionLvlError
impl Clone for CompressionLvlError
Source§fn clone(&self) -> CompressionLvlError
fn clone(&self) -> CompressionLvlError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompressionLvlError
Source§impl Debug for CompressionLvlError
impl Debug for CompressionLvlError
impl Eq for CompressionLvlError
Source§impl PartialEq for CompressionLvlError
impl PartialEq for CompressionLvlError
Source§fn eq(&self, other: &CompressionLvlError) -> bool
fn eq(&self, other: &CompressionLvlError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompressionLvlError
Auto Trait Implementations§
impl Freeze for CompressionLvlError
impl RefUnwindSafe for CompressionLvlError
impl Send for CompressionLvlError
impl Sync for CompressionLvlError
impl Unpin for CompressionLvlError
impl UnsafeUnpin for CompressionLvlError
impl UnwindSafe for CompressionLvlError
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