pub struct Counters {
pub busy: AtomicU64,
pub evicted: AtomicU64,
pub idle: AtomicU64,
pub slow: AtomicU64,
pub too_large: AtomicU64,
pub rate_limited: AtomicU64,
}Expand description
How often each limit said no. The daemon’s own count: nothing refused
here is in a log. ping shows it.
Fields§
§busy: AtomicU64Connections refused, or long lines with no room left.
evicted: AtomicU64Quiet connections closed to let a new one in.
idle: AtomicU64Connections closed after sending nothing for too long.
slow: AtomicU64Connections closed in the middle of a line or a response.
too_large: AtomicU64§rate_limited: AtomicU64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Counters
impl Forget for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnsafeUnpin for Counters
impl UnwindSafe for Counters
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more