Trait aws_smithy_observability::attributes::Context
source · 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.