Struct hdrhistogram::serialization::V2DeflateSerializer
source · [−]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
sourceimpl V2DeflateSerializer
impl V2DeflateSerializer
sourcepub fn new() -> V2DeflateSerializer
pub fn new() -> V2DeflateSerializer
Create a new serializer.
Trait Implementations
sourceimpl Default for V2DeflateSerializer
impl Default for V2DeflateSerializer
sourceimpl Serializer for V2DeflateSerializer
impl Serializer for V2DeflateSerializer
type SerializeError = V2DeflateSerializeError
type SerializeError = V2DeflateSerializeError
Error type returned when serialization fails.
Auto Trait Implementations
impl RefUnwindSafe for V2DeflateSerializer
impl Send for V2DeflateSerializer
impl Sync for V2DeflateSerializer
impl Unpin for V2DeflateSerializer
impl UnwindSafe for V2DeflateSerializer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more