Skip to main content

request_scope_insert

Function request_scope_insert 

Source
pub fn request_scope_insert(type_id: TypeId, value: Arc<dyn Any + Send + Sync>)
Expand description

Insert a value into the request scope. Must be called from inside a with_request_scope future; otherwise it’s a no-op.