pub struct V2DeflateSerializer { /* private fields */ }
Expand description

Serializer for the V2 + DEFLATE binary format.

It’s called “deflate” to stay consistent with the naming used in the Java implementation, but it actually uses zlib’s wrapper format around plain DEFLATE.

Implementations

Create a new serializer.

Trait Implementations

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

Error type returned when serialization fails.

Serialize the histogram into the provided writer. Returns the number of bytes written, or an error. 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.