pub enum Finished {
    Done,
    Future(Box<dyn Future<Item = (), Error = Error> + 'static, Global>),
}
Expand description

Middleware finish result

Variants§

§

Done

Execution completed

§

Future(Box<dyn Future<Item = (), Error = Error> + 'static, Global>)

Execution completed, but run future to completion

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more
Convert &self to an expression for Diesel’s query builder. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.