Struct zstd_safe::DCtx[][src]

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.

👎 Deprecated

Wraps the ZSTD_initDStream_usingDict() function.

👎 Deprecated

Wraps the ZSTD_initDStream_usingDDict() function.

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.

Wraps the ZSTD_decompressBlock() function.

Wraps the ZSTD_insertBlock() 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

Performs the conversion.

Performs the conversion.

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.