pub struct AffinityStatsSnapshot {
pub prefix_enabled: bool,
pub sticky_enabled: bool,
pub prefix_entries: usize,
pub prefix_lookups: u64,
pub prefix_hits: u64,
pub prefix_misses: u64,
pub prefix_stale: u64,
pub prefix_routes: u64,
pub sticky_routes: u64,
pub session_routes: u64,
pub learned: u64,
pub evicted: u64,
}Fields§
§prefix_enabled: bool§sticky_enabled: bool§prefix_entries: usize§prefix_lookups: u64§prefix_hits: u64§prefix_misses: u64§prefix_stale: u64§prefix_routes: u64§sticky_routes: u64§session_routes: u64§learned: u64§evicted: u64Trait Implementations§
Source§impl Clone for AffinityStatsSnapshot
impl Clone for AffinityStatsSnapshot
Source§fn clone(&self) -> AffinityStatsSnapshot
fn clone(&self) -> AffinityStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AffinityStatsSnapshot
impl Debug for AffinityStatsSnapshot
Source§impl Default for AffinityStatsSnapshot
impl Default for AffinityStatsSnapshot
Source§fn default() -> AffinityStatsSnapshot
fn default() -> AffinityStatsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AffinityStatsSnapshot
impl RefUnwindSafe for AffinityStatsSnapshot
impl Send for AffinityStatsSnapshot
impl Sync for AffinityStatsSnapshot
impl Unpin for AffinityStatsSnapshot
impl UnsafeUnpin for AffinityStatsSnapshot
impl UnwindSafe for AffinityStatsSnapshot
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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