Enum ba2::CompressionResult
source · pub enum CompressionResult {
Compressed,
Decompressed,
}
Expand description
Indicates whether the operation should finish by compressing the data or not.
Variants§
Compressed
The data will finish in a compressed state.
Decompressed
The data will finish in a decompressed state.
Trait Implementations§
source§impl Clone for CompressionResult
impl Clone for CompressionResult
source§fn clone(&self) -> CompressionResult
fn clone(&self) -> CompressionResult
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 CompressionResult
impl Debug for CompressionResult
source§impl Default for CompressionResult
impl Default for CompressionResult
source§fn default() -> CompressionResult
fn default() -> CompressionResult
Returns the “default value” for a type. Read more
source§impl PartialEq for CompressionResult
impl PartialEq for CompressionResult
source§fn eq(&self, other: &CompressionResult) -> bool
fn eq(&self, other: &CompressionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionResult
impl Eq for CompressionResult
impl StructuralPartialEq for CompressionResult
Auto Trait Implementations§
impl RefUnwindSafe for CompressionResult
impl Send for CompressionResult
impl Sync for CompressionResult
impl Unpin for CompressionResult
impl UnwindSafe for CompressionResult
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