Module spirit_tokio::utils

source ·
Expand description

Utility and glue functions

Functions

A simplified version of per_connection_init.
Creates a ResourceConsumer that takes a listener and runs the provided closure on each accepted connection.
Similar to resources, but for just a single instance of the resource configuration.
Binds a ResourceConfig and ResourceConsumer together to form a Helper.