[][src]Struct compressible_map::Compressed

pub struct Compressed<A> where
    A: Compression
{ pub compressed_data: A::CompressedData, // some fields omitted }

Fields

compressed_data: A::CompressedData

Implementations

impl<T, A> Compressed<A> where
    A: Compression<CompressedData = T>, 
[src]

pub fn new(compressed_data: A::CompressedData) -> Self[src]

pub fn decompress(&self) -> A::Data[src]

pub fn take(self) -> A::CompressedData[src]

Trait Implementations

impl<'de, A> Deserialize<'de> for Compressed<A> where
    A: Compression,
    A::CompressedData: Deserialize<'de>, 
[src]

impl<A> Serialize for Compressed<A> where
    A: Compression,
    A::CompressedData: Serialize
[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for Compressed<A> where
    A: RefUnwindSafe,
    <A as Compression>::CompressedData: RefUnwindSafe

impl<A> Send for Compressed<A> where
    A: Send,
    <A as Compression>::CompressedData: Send

impl<A> Sync for Compressed<A> where
    A: Sync,
    <A as Compression>::CompressedData: Sync

impl<A> Unpin for Compressed<A> where
    A: Unpin,
    <A as Compression>::CompressedData: Unpin

impl<A> UnwindSafe for Compressed<A> where
    A: UnwindSafe,
    <A as Compression>::CompressedData: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.