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

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

The return type of map(e, f)

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<E, F, R> Endpoint for Map<E, F> where
    E: Endpoint,
    F: FnOnce(E::Item) -> R, 
[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]