Skip to main content

ContextManager

Trait ContextManager 

Source
pub trait ContextManager {
    // Required method
    fn current(&self) -> &dyn Context;
}
Expand description

Keeps track of the current Context.

Required Methods§

Source

fn current(&self) -> &dyn Context

Get the currently active context.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§