pub trait Context {
// Required method
fn make_current(&self) -> &dyn Scope;
}Expand description
A cross cutting concern for carrying execution-scoped values across API boundaries (both in-process and distributed).
Required Methods§
Sourcefn make_current(&self) -> &dyn Scope
fn make_current(&self) -> &dyn Scope
Make this context the currently active context. The returned handle is used to return the previous context (if one existed) as active.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".