[][src]Type Definition hyperdrive::DefaultFuture

type DefaultFuture<T, E> = Box<dyn Future<Item = T, Error = E> + Send>;

A default boxed future that may be returned from FromRequest, FromBody and Guard implementations.

The future is required to be Send to allow running it on a multi-threaded executor.