pub struct ObservabilityGuard { /* private fields */ }Expand description
Inert observability guard returned by init when the observability
feature is disabled. Flushes and installs nothing.
Implementations§
Source§impl ObservabilityGuard
impl ObservabilityGuard
Sourcepub fn force_flush(&self)
pub fn force_flush(&self)
No-op flush.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObservabilityGuard
impl RefUnwindSafe for ObservabilityGuard
impl Send for ObservabilityGuard
impl Sync for ObservabilityGuard
impl Unpin for ObservabilityGuard
impl UnsafeUnpin for ObservabilityGuard
impl UnwindSafe for ObservabilityGuard
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more