pub struct Empty { /* private fields */ }
Expand description
An async reader which is always at EOF.
This struct is generally created by calling empty
. Please see
the documentation of empty()
for more details.
This is an asynchronous version of std::io::empty
.
Trait Implementations
sourceimpl AsyncBufRead for Empty
impl AsyncBufRead for Empty
Auto Trait Implementations
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnwindSafe for Empty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more