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