pub struct Splitter { /* private fields */ }Expand description
Streaming splitter: yields a line on \r or \n (a \r\n pair yields one line),
even when a line spans several chunks. Bytes are decoded as lossy UTF-8.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Splitter
impl RefUnwindSafe for Splitter
impl Send for Splitter
impl Sync for Splitter
impl Unpin for Splitter
impl UnsafeUnpin for Splitter
impl UnwindSafe for Splitter
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