Struct pyo3_asyncio::TaskLocals [−][src]
pub struct TaskLocals { /* fields omitted */ }Expand description
Task-local data to store for Python conversions.
Implementations
Construct TaskLocals with the event loop returned by get_running_loop
Manually provide the contextvars for the current task.
Capture the current task’s contextvars
Get a reference to the event loop
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TaskLocals
impl Send for TaskLocals
impl Sync for TaskLocals
impl Unpin for TaskLocals
impl UnwindSafe for TaskLocals
Blanket Implementations
Mutably borrows from an owned value. Read more