Skip to main content

with_context_value

Function with_context_value 

Source
pub fn with_context_value<T, F, R>(value: T, f: F) -> R
where T: 'static + Clone, F: FnOnce() -> R,
Expand description

Execute a function with a scoped context value