pub struct InjectionGuard { /* private fields */ }Expand description
RAII guard that does nothing when the feature is off.
Trait Implementations§
Source§impl Debug for InjectionGuard
impl Debug for InjectionGuard
Source§impl Drop for InjectionGuard
impl Drop for InjectionGuard
Auto Trait Implementations§
impl Freeze for InjectionGuard
impl RefUnwindSafe for InjectionGuard
impl Send for InjectionGuard
impl Sync for InjectionGuard
impl Unpin for InjectionGuard
impl UnsafeUnpin for InjectionGuard
impl UnwindSafe for InjectionGuard
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