Struct opentelemetry_api::ContextGuard
source · pub struct ContextGuard { /* private fields */ }
Expand description
A guard that resets the current context to the prior context when dropped.
pub struct ContextGuard { /* private fields */ }
A guard that resets the current context to the prior context when dropped.