pub struct InitGuard { /* private fields */ }Expand description
RAII guard returned by InitBuilder::install. On drop, calls the
global observer’s shutdown_blocking with the configured budget so
in-flight envelopes have a bounded window to flush.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InitGuard
impl RefUnwindSafe for InitGuard
impl Send for InitGuard
impl Sync for InitGuard
impl Unpin for InitGuard
impl UnsafeUnpin for InitGuard
impl UnwindSafe for InitGuard
Blanket Implementations§
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