Crate finchers_ext [] [src]

Extensions for constructing Endpoints

Modules

option

Extensions for Option

result

Extensions for Result

Structs

Abort
All
And
Inspect
Just
Lazy
Left
Lift
Map
MapAsync
Or
Right

Traits

EndpointExt

A set of extension methods used for composing complicate endpoints.

EndpointOptionExt

A set of extension methods which is available when the output is value is an Option.

EndpointResultExt

A set of extension methods which is available when the output value is a Result.

Functions

abort

Create an endpoint which always abort the incoming request with an error of E.

all

Create an endpoint which evaluates the all endpoint in the given collection sequentially.

just

Create an endpoint which immediately returns a value of T.

lazy

Create an endpoint which applies the given function to the incoming request and returns an immediate value of T.