Struct async_mtzip::level::InvalidCompressionLevel
source · pub struct InvalidCompressionLevel(/* private fields */);
Expand description
The number for compression level was invalid
Implementations§
Trait Implementations§
source§impl Clone for InvalidCompressionLevel
impl Clone for InvalidCompressionLevel
source§fn clone(&self) -> InvalidCompressionLevel
fn clone(&self) -> InvalidCompressionLevel
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 InvalidCompressionLevel
impl Debug for InvalidCompressionLevel
source§impl Display for InvalidCompressionLevel
impl Display for InvalidCompressionLevel
source§impl Error for InvalidCompressionLevel
impl Error for InvalidCompressionLevel
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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
source§fn eq(&self, other: &InvalidCompressionLevel) -> bool
fn eq(&self, other: &InvalidCompressionLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InvalidCompressionLevel
impl Eq 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 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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more