Struct async_streamdata::reader::generic::ZeroReadEof
source · pub struct ZeroReadEof;
Expand description
An EofCondition
implementation that will treat any 0
-byte reads as EOF.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ZeroReadEof
impl Send for ZeroReadEof
impl Sync for ZeroReadEof
impl Unpin for ZeroReadEof
impl UnwindSafe for ZeroReadEof
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