Struct buffer_redux::policy::DoRead
source · 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 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