pub struct Decoder<T> { /* private fields */ }Expand description
Decodes JSON records from frame payloads, sharing one DEFLATE window across the log.
The track-free core of Consumer, and the mirror of
Encoder. Payloads must be fed in the order they were encoded, since each one
builds on the window the earlier ones left behind. Call reset at a group
boundary, matching the encoder.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for Decoder<T>
impl<T> RefUnwindSafe for Decoder<T>
impl<T> Send for Decoder<T>
impl<T> Sync for Decoder<T>
impl<T> Unpin for Decoder<T>
impl<T> UnsafeUnpin for Decoder<T>
impl<T> UnwindSafe for Decoder<T>
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