pub struct GatewayStats {
pub sessions_created: usize,
pub sessions_reconnected: usize,
pub sessions_expired: usize,
pub routes_changed: usize,
pub commands_admitted: usize,
pub commands_rejected_replay: usize,
pub commands_rejected_rate_limit: usize,
}Expand description
Gateway session table statistics.
Fields§
§sessions_created: usizeSessions created.
sessions_reconnected: usizeSuccessful reconnects.
sessions_expired: usizeDisconnected sessions expired or replaced after grace.
routes_changed: usizeRoute changes.
commands_admitted: usizeCommands admitted.
commands_rejected_replay: usizeCommands rejected as replay/stale.
commands_rejected_rate_limit: usizeCommands rejected by per-client rate limit.
Trait Implementations§
Source§impl Clone for GatewayStats
impl Clone for GatewayStats
Source§fn clone(&self) -> GatewayStats
fn clone(&self) -> GatewayStats
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 moreimpl Copy for GatewayStats
Source§impl Debug for GatewayStats
impl Debug for GatewayStats
Source§impl Default for GatewayStats
impl Default for GatewayStats
Source§fn default() -> GatewayStats
fn default() -> GatewayStats
Returns the “default value” for a type. Read more
impl Eq for GatewayStats
Source§impl PartialEq for GatewayStats
impl PartialEq for GatewayStats
impl StructuralPartialEq for GatewayStats
Auto Trait Implementations§
impl Freeze for GatewayStats
impl RefUnwindSafe for GatewayStats
impl Send for GatewayStats
impl Sync for GatewayStats
impl Unpin for GatewayStats
impl UnsafeUnpin for GatewayStats
impl UnwindSafe for GatewayStats
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