pub struct FlushOn(pub u8);
Expand description
Flush the buffer if it contains the given byte.
Only scans the buffer after reading. Searches from the end first.
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl WriterPolicy for FlushOn
impl WriterPolicy for FlushOn
Auto Trait Implementations§
impl Freeze for FlushOn
impl RefUnwindSafe for FlushOn
impl Send for FlushOn
impl Sync for FlushOn
impl Unpin for FlushOn
impl UnwindSafe for FlushOn
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