pub struct ReadExactFuture<'a, R: Unpin + ?Sized> { /* private fields */ }
Available on crate feature
std
only.Expand description
Future for the AsyncReadExt::read_exact()
method.
Trait Implementationsยง
impl<R: Unpin + ?Sized> Unpin for ReadExactFuture<'_, R>
Auto Trait Implementationsยง
impl<'a, R> Freeze for ReadExactFuture<'a, R>where
R: ?Sized,
impl<'a, R> RefUnwindSafe for ReadExactFuture<'a, R>where
R: RefUnwindSafe + ?Sized,
impl<'a, R> Send for ReadExactFuture<'a, R>
impl<'a, R> Sync for ReadExactFuture<'a, R>
impl<'a, R> !UnwindSafe for ReadExactFuture<'a, R>
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
Sourceยงimpl<F> FutureExt for F
impl<F> FutureExt for F
Sourceยงfn race<F>(self, other: F) -> Race<Self, F> โ
fn race<F>(self, other: F) -> Race<Self, F> โ
Available on crate features
std
and race
only.Sourceยงfn catch_unwind(self) -> CatchUnwind<Self> โwhere
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self> โwhere
Self: Sized + UnwindSafe,
Available on crate feature
std
only.Catches panics while polling the future. Read more
Sourceยงimpl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Sourceยงtype IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Sourceยงfn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more