Struct sentry::internals::ClientInitGuard
source · [−]pub struct ClientInitGuard(_);
Expand description
Helper struct that is returned from init
.
When this is dropped events are drained with a 1 second timeout.
Implementations
sourceimpl ClientInitGuard
impl ClientInitGuard
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Quick check if the client is enabled.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClientInitGuard
impl Send for ClientInitGuard
impl Sync for ClientInitGuard
impl Unpin for ClientInitGuard
impl UnwindSafe for ClientInitGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more