Skip to main content

with_shared

Function with_shared 

Source
pub fn with_shared<T>(
    value: T,
) -> impl Filter<Extract = (T,), Error = Infallible> + Clone
where T: Clone + Send,
Expand description

Hand a clone of shared state (a queue handle, system state, …) to a handler.