Struct futures_util::io::Read
source · [−]pub struct Read<'a, R: ?Sized> { /* private fields */ }
Expand description
Future for the read
method.
Trait Implementations
impl<R: ?Sized + Unpin> Unpin for Read<'_, R>
Auto Trait Implementations
impl<'a, R: ?Sized> RefUnwindSafe for Read<'a, R> where
R: RefUnwindSafe,
impl<'a, R: ?Sized> Send for Read<'a, R> where
R: Send,
impl<'a, R: ?Sized> Sync for Read<'a, R> where
R: Sync,
impl<'a, R> !UnwindSafe for Read<'a, R>
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
sourceimpl<F> IntoFuture for F where
F: Future,
impl<F> IntoFuture for F where
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more