Struct hdrhistogram::serialization::V2DeflateSerializer[][src]

pub struct V2DeflateSerializer { /* fields omitted */ }

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.

Methods

impl V2DeflateSerializer
[src]

Create a new serializer.

Trait Implementations

impl Default for V2DeflateSerializer
[src]

Returns the "default value" for a type. Read more

impl Serializer for V2DeflateSerializer
[src]

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