tower_util

Function service_fn

Source
pub fn service_fn<T>(f: T) -> ServiceFn<T>
Expand description

Returns a new ServiceFn with the given closure.