pub struct FlushAtLeast(pub usize);
Expand description
Flush the buffer if it contains at least the given number of bytes.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Debug for FlushAtLeast
impl Debug for FlushAtLeast
Source§impl Default for FlushAtLeast
impl Default for FlushAtLeast
Source§fn default() -> FlushAtLeast
fn default() -> FlushAtLeast
Returns the “default value” for a type. Read more
Source§impl WriterPolicy for FlushAtLeast
impl WriterPolicy for FlushAtLeast
Auto Trait Implementations§
impl Freeze for FlushAtLeast
impl RefUnwindSafe for FlushAtLeast
impl Send for FlushAtLeast
impl Sync for FlushAtLeast
impl Unpin for FlushAtLeast
impl UnwindSafe for FlushAtLeast
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