Module finchers::endpoint::combinator [] [src]

Definition of combinators

Structs

AndThen

The return type of and_then()

EndpointOk

The return type of ok(x)

FromErr
Inspect
Map

The return type of map(e, f)

MapErr

The return type of map_err(e, f)

Or

The return type of or(e1, e2)

OrElse

The return type of or_else()

Skip

Return type of skip(e1, e2)

Then

The return type of then()

With

The return type of with(e1,e2)

Functions

and_then

Equivalent to e.and_then(f)

from_err
inspect
map

Equivalent to e.map(f)

map_err

Equivalent to e.map_err(f)

ok

Create an endpoint which returns a success value of T

or

Equivalent to e1.or(e2)

or_else

Equivalent to e.or_else(f)

skip

Equivalent to e1.skip(e2)

then

Equivalent to e.then(f)

with

Equivalent to e1.with(e2)