[−][src]Struct compressible_map::Compressed
Fields
compressed_data: A::CompressedData
Implementations
impl<T, A> Compressed<A> where
A: Compression<CompressedData = T>,
[src]
A: Compression<CompressedData = T>,
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]
A: Compression,
A::CompressedData: Deserialize<'de>,
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<A> Serialize for Compressed<A> where
A: Compression,
A::CompressedData: Serialize,
[src]
A: Compression,
A::CompressedData: Serialize,
Auto Trait Implementations
impl<A> RefUnwindSafe for Compressed<A> where
A: RefUnwindSafe,
<A as Compression>::CompressedData: RefUnwindSafe,
A: RefUnwindSafe,
<A as Compression>::CompressedData: RefUnwindSafe,
impl<A> Send for Compressed<A> where
A: Send,
<A as Compression>::CompressedData: Send,
A: Send,
<A as Compression>::CompressedData: Send,
impl<A> Sync for Compressed<A> where
A: Sync,
<A as Compression>::CompressedData: Sync,
A: Sync,
<A as Compression>::CompressedData: Sync,
impl<A> Unpin for Compressed<A> where
A: Unpin,
<A as Compression>::CompressedData: Unpin,
A: Unpin,
<A as Compression>::CompressedData: Unpin,
impl<A> UnwindSafe for Compressed<A> where
A: UnwindSafe,
<A as Compression>::CompressedData: UnwindSafe,
A: UnwindSafe,
<A as Compression>::CompressedData: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,