pub struct DCtx<'a>(_, _);
Expand description

A Decompression Context.

The lifetime references the potential dictionary used for this context.

If no dictionary was used, it will most likely be 'static.

Same as DStream.

Implementations

Wraps the ZSTD_decompressDCtx() function.

Wraps ZSTD_decompress_usingDict

Wraps the ZSTD_decompress_usingDDict() function.

Wraps the ZSTD_initCStream() function.

Initializes an existing DStream for decompression.

Wraps the ZSTD_resetDStream() function.

Wraps the ZSTD_decompressStream() function.

Wraps the ZSTD_DStreamInSize() function.

Returns a hint for the recommended size of the input buffer for decompression.

Wraps the ZSTD_DStreamOutSize() function.

Returns a hint for the recommended size of the output buffer for decompression.

Wraps the ZSTD_sizeof_DCtx() function.

Trait Implementations

Returns the “default value” for a type. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.