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>  { ... }
}

Required Methods§

Provided Methods§

Implementors§