Function task_local_extensions::get_local_item
source · pub async fn get_local_item<T: Send + Sync + Clone + 'static>() -> Option<T>
Expand description
Retrieve any item from task-local storage.
pub async fn get_local_item<T: Send + Sync + Clone + 'static>() -> Option<T>
Retrieve any item from task-local storage.