Enum brotli2::raw::CompressOp[][src]

#[repr(isize)]
pub enum CompressOp { Process, Flush, Finish, EmitMetadata, }

Possible choices for the operation performed by the compressor.

When using any operation except Process, you must not alter the input buffer or use a different operation until the current operation has 'completed'. An operation may need to be repeated with more space to write data until it can complete.

Variants

Compress input data

Compress input data, ensuring that all input so far has been written out

Compress input data, ensuring that all input so far has been written out and then finalizing the stream so no more data can be written

Emit a metadata block to the stream, an opaque piece of out-of-band data that does not interfere with the main stream of data. Metadata blocks must be no longer than 16MiB

Trait Implementations

impl Copy for CompressOp
[src]

impl Clone for CompressOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CompressOp
[src]

Formats the value using the given formatter. Read more

impl PartialEq for CompressOp
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CompressOp
[src]

Auto Trait Implementations

impl Send for CompressOp

impl Sync for CompressOp