Type Definition thruster::MiddlewareReturnValue[][src]

type MiddlewareReturnValue<T> = Box<Future<Item = T, Error = Error> + Send>;

MiddlewareReturnValues are the values that Thruster expects middleware to return. It's shorthand for a Future, where the Item is a Context associated with the app, and the error is an io::Error.