pub struct ConnectionGuard { /* private fields */ }Expand description
Guard that releases a connection slot when dropped.
This guard is Send + 'static and can be safely moved into spawned async tasks.
Trait Implementations§
Source§impl Debug for ConnectionGuard
impl Debug for ConnectionGuard
Auto Trait Implementations§
impl Freeze for ConnectionGuard
impl RefUnwindSafe for ConnectionGuard
impl Send for ConnectionGuard
impl Sync for ConnectionGuard
impl Unpin for ConnectionGuard
impl UnsafeUnpin for ConnectionGuard
impl UnwindSafe for ConnectionGuard
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