tokio_io

Type Alias IoFuture

Source
pub type IoFuture<T> = Box<dyn Future<Item = T, Error = Error> + Send>;
Expand description

A convenience typedef around a Future whose error component is io::Error

Aliased Typeยง

struct IoFuture<T>(/* private fields */);