pub struct ClientStats {
pub client_id: ClientId,
pub total_requests: u64,
pub pending_requests: usize,
pub rejected_requests: u64,
pub load_factor: f32,
pub priority: u32,
}Expand description
Statistics for a single client.
Fields§
§client_id: ClientId§total_requests: u64§pending_requests: usize§rejected_requests: u64§load_factor: f32§priority: u32Trait Implementations§
Source§impl Clone for ClientStats
impl Clone for ClientStats
Source§fn clone(&self) -> ClientStats
fn clone(&self) -> ClientStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientStats
impl RefUnwindSafe for ClientStats
impl Send for ClientStats
impl Sync for ClientStats
impl Unpin for ClientStats
impl UnsafeUnpin for ClientStats
impl UnwindSafe for ClientStats
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