Struct finchers::endpoint::combinator::Then [] [src]

pub struct Then<E, F> { /* fields omitted */ }

The return type of then()

Trait Implementations

impl<E: Debug, F: Debug> Debug for Then<E, F>
[src]

[src]

Formats the value using the given formatter.

impl<E, F, Fut> Endpoint for Then<E, F> where
    E: Endpoint,
    F: FnOnce(Result<E::Item, E::Error>) -> Fut,
    Fut: IntoFuture
[src]

The type of resolved value, created by this endpoint

The type of future created by this endpoint

[src]

Apply the incoming HTTP request, and return the future of its response

[src]

Combine itself and the other endpoint, and create a combinator which returns a pair of its Items. Read more

[src]

Combine itself and two other endpoints, and create a combinator which returns a tuple of its Items. Read more

[src]

Combine itself and three other endpoints, and create a combinator which returns a tuple of its Items. Read more

[src]

Combine itself and four other endpoints, and create a combinator which returns a tuple of its Items. Read more

[src]

Combine itself and the other endpoint, and create a combinator which returns E::Item.

[src]

Combine itself and the other endpoint, and create a combinator which returns Self::Item.

[src]

Create an endpoint which attempts to apply self. If self failes, then revert the context and retry applying e. Read more

[src]

Combine itself and a function to change the return value to another type.

[src]

Combine itself and a function to change the error value to another type.

[src]

[src]

[src]

[src]

[src]

[src]