Struct Uncompressed

pub struct Uncompressed;

The default algorithm which does not compress at all.

Trait Implementations

impl Clone for Uncompressed

fn clone(&self) -> Uncompressed

impl Compression for Uncompressed

const COMPRESSION_METHOD: CompressionMethod = CompressionMethod::None;
fn get_algorithm(&self) -> Compressor

impl CompressionAlgorithm for Uncompressed

fn write_to<W: Write>(&mut self, writer: &mut W, bytes: &[u8]) -> Result<u64, Error>

impl Copy for Uncompressed

impl Debug for Uncompressed

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for Uncompressed

fn default() -> Uncompressed

impl Eq for Uncompressed

impl PartialEq for Uncompressed

fn eq(&self, other: &Uncompressed) -> bool

impl StructuralPartialEq for Uncompressed

Auto Trait Implementations

impl Freeze for Uncompressed

impl RefUnwindSafe for Uncompressed

impl Send for Uncompressed

impl Sync for Uncompressed

impl Unpin for Uncompressed

impl UnsafeUnpin for Uncompressed

impl UnwindSafe for Uncompressed

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for Uncompressed where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for Uncompressed where ST: ?Sized, DT: ?Sized,

impl<T> Any for Uncompressed where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Uncompressed where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Uncompressed where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Uncompressed where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Uncompressed

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for Uncompressed where T: ?Sized,

impl<T> ToOwned for Uncompressed where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Uncompressed where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Uncompressed where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Uncompressed where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>