pub struct DoRead(pub bool);
Expand description
Flag for ReaderPolicy
methods to signal whether or not BufReader
should read into
the buffer.
See do_read!()
for a shorthand.
Tuple Fields§
§0: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DoRead
impl RefUnwindSafe for DoRead
impl Send for DoRead
impl Sync for DoRead
impl Unpin for DoRead
impl UnwindSafe for DoRead
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