Module spirit_tokio::handlers[][src]

Expand description

Various Transformations for working with resources in async contexts.

Oftentimes, one needs to transform some resource into a future and spawn it into the runtime. While possible to do manually, the types here might be a bit more comfortable.

Structs

A plumbing type for PerConnection.

A Transformation that creates a new future from each accepted connection.

A more flexible (and mind-bending) version of PerConnection.

A Transformation to take a resource, turn it into a future and install it.

A Transformation to take a resource, turn it into a future and install it.