pub fn with_shared<T>( value: T, ) -> impl Filter<Extract = (T,), Error = Infallible> + Clonewhere T: Clone + Send,
Hand a clone of shared state (a queue handle, system state, …) to a handler.