Crate truelayer_extensions[][src]

Expand description

A type map for storing data of arbritrary type.

Structs

Extensions is a type map: values are stored and retrieved using their TypeId.

Functions

Retrieve any item from task-local storage.

Set an item in task-local storage.

Sets a task local to Extensions before fut is run, and fetches the contents of the task local Extensions after completion and returns it.