[][src]Struct tide::Next

pub struct Next<'a, State> { /* fields omitted */ }

The remainder of a middleware chain, including the endpoint.

Implementations

impl<'a, State: 'static> Next<'a, State>[src]

#[must_use]pub fn run(
    self,
    req: Request<State>
) -> Pin<Box<dyn Future<Output = Result> + Send + 'a>>
[src]

Asynchronously execute the remaining middleware chain.

Auto Trait Implementations

impl<'a, State> !RefUnwindSafe for Next<'a, State>

impl<'a, State> Send for Next<'a, State>

impl<'a, State> Sync for Next<'a, State>

impl<'a, State> Unpin for Next<'a, State>

impl<'a, State> !UnwindSafe for Next<'a, State>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.