pub struct ReadableFuture<'a> { /* private fields */ }Expand description
Future returned by IoSource::readable.
Stores the caller’s waker in the reactor’s WakerRegistry and arms
READABLE interest. Resolves to Ok(()) after the reactor fires the event.
Trait Implementations§
Source§impl<'a> Future for ReadableFuture<'a>
impl<'a> Future for ReadableFuture<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReadableFuture<'a>
impl<'a> RefUnwindSafe for ReadableFuture<'a>
impl<'a> Send for ReadableFuture<'a>
impl<'a> Sync for ReadableFuture<'a>
impl<'a> Unpin for ReadableFuture<'a>
impl<'a> UnsafeUnpin for ReadableFuture<'a>
impl<'a> UnwindSafe for ReadableFuture<'a>
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> 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