pub struct Decoder { /* private fields */ }Expand description
Incremental decoder: feed bytes as they arrive, collect complete events.
Lines end at \n, \r\n or \r, and a blank line dispatches the event. Comments
(:) and unknown fields are ignored. Bytes of a UTF-8 character split across
chunks are kept until the rest arrives.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Decoder
impl Freeze for Decoder
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnsafeUnpin for Decoder
impl UnwindSafe for Decoder
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