pub struct ConnGuard<'a> { /* private fields */ }Expand description
RAII guard that decrements the active-connection counter on drop.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ConnGuard<'a>
impl<'a> RefUnwindSafe for ConnGuard<'a>
impl<'a> Send for ConnGuard<'a>
impl<'a> Sync for ConnGuard<'a>
impl<'a> Unpin for ConnGuard<'a>
impl<'a> UnsafeUnpin for ConnGuard<'a>
impl<'a> UnwindSafe for ConnGuard<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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