pub trait IoFutureState<IO: Sized + Unpin>: Sized + Unpin {
    fn poll(&mut self, cx: &mut Context<'_>, io: &mut IO) -> Poll<Result<()>>;

    fn into_future(self, io: IO) -> IoFuture<Self, IO>Notable traits for IoFuture<S, IO>impl<S: IoFutureState<IO>, IO: Unpin> Future for IoFuture<S, IO>    type Output = Result<IO>; { ... }
}

Required Methods

Provided Methods

Implementors