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

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

Required Methods

Provided Methods

Implementors