Enum libdeflater::CompressionLvlError
source · 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 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 CompressionLvlError
impl Debug for CompressionLvlError
source§impl PartialEq for CompressionLvlError
impl PartialEq for CompressionLvlError
source§fn eq(&self, other: &CompressionLvlError) -> bool
fn eq(&self, other: &CompressionLvlError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionLvlError
impl Eq for CompressionLvlError
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 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