Struct sentry::ScopeGuard
source · pub struct ScopeGuard(/* private fields */);
Expand description
A scope guard.
This is returned from Hub::push_scope
and will automatically pop the
scope on drop.
Trait Implementations§
source§impl Debug for ScopeGuard
impl Debug for ScopeGuard
source§impl Default for ScopeGuard
impl Default for ScopeGuard
source§fn default() -> ScopeGuard
fn default() -> ScopeGuard
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScopeGuard
impl RefUnwindSafe for ScopeGuard
impl Send for ScopeGuard
impl Sync for ScopeGuard
impl Unpin for ScopeGuard
impl UnwindSafe for ScopeGuard
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