pub struct ActiveConnectionGuard { /* private fields */ }Expand description
RAII guard that decrements praxis_connections_active on drop.
Acquired once per HTTP request / TCP session. See the
CONNECTIONS_ACTIVE constant docs for HTTP vs TCP semantics and
grouped TCP listener labeling.
Trait Implementations§
Source§impl Drop for ActiveConnectionGuard
impl Drop for ActiveConnectionGuard
Auto Trait Implementations§
impl Freeze for ActiveConnectionGuard
impl RefUnwindSafe for ActiveConnectionGuard
impl Send for ActiveConnectionGuard
impl Sync for ActiveConnectionGuard
impl Unpin for ActiveConnectionGuard
impl UnsafeUnpin for ActiveConnectionGuard
impl UnwindSafe for ActiveConnectionGuard
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