[−][src]Trait building_blocks_storage::Compressible
A type that's compressible using algorithm A
.
Associated Types
type Compressed: Decompressible<A>
Required methods
fn compress(&self, params: A) -> Self::Compressed
Implementors
impl<N, T> Compressible<FastLz4> for ArrayN<N, T> where
T: Copy,
ExtentN<N>: IntegerExtent<N>,
[src]
T: Copy,
ExtentN<N>: IntegerExtent<N>,
type Compressed = FastLz4CompressedArrayN<N, T>
fn compress(&self, params: FastLz4) -> FastLz4CompressedArrayN<N, T>
[src]
impl<N, T, M> Compressible<FastLz4> for Chunk<N, T, M> where
T: Copy,
M: Clone,
ExtentN<N>: IntegerExtent<N>,
[src]
T: Copy,
M: Clone,
ExtentN<N>: IntegerExtent<N>,
type Compressed = FastCompressedChunk<N, T, M>
fn compress(&self, params: FastLz4) -> Self::Compressed
[src]
impl<T> Compressible<BincodeLz4> for T where
T: DeserializeOwned + Serialize,
[src]
T: DeserializeOwned + Serialize,
type Compressed = BincodeLz4Compressed<T>
pub fn compress(
&self,
params: BincodeLz4
) -> <T as Compressible<BincodeLz4>>::Compressed
[src]
&self,
params: BincodeLz4
) -> <T as Compressible<BincodeLz4>>::Compressed