Struct sentry_core::ScopeGuard
source · [−]pub struct ScopeGuard(_);
Expand description
A scope guard.
This is returned from Hub::push_scope
and will automatically pop the
scope on drop.
Trait Implementations
sourceimpl Debug for ScopeGuard
impl Debug for ScopeGuard
sourceimpl Default for ScopeGuard
impl Default for ScopeGuard
sourcefn default() -> ScopeGuard
fn default() -> ScopeGuard
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScopeGuard
impl Send for ScopeGuard
impl Sync for ScopeGuard
impl Unpin for ScopeGuard
impl UnwindSafe for ScopeGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more