pub struct ServerStats {
pub accepted: usize,
pub completed: usize,
pub max_in_flight: usize,
}Expand description
Snapshot of cassette-server concurrency and completion counters.
Fields§
§accepted: usizeConnections accepted for scripted exchanges.
completed: usizeResponses that completed without a server-side write error.
max_in_flight: usizeLargest number of simultaneously active handlers.
Trait Implementations§
Source§impl Clone for ServerStats
impl Clone for ServerStats
Source§fn clone(&self) -> ServerStats
fn clone(&self) -> ServerStats
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 ServerStats
Source§impl Debug for ServerStats
impl Debug for ServerStats
Source§impl Default for ServerStats
impl Default for ServerStats
Source§fn default() -> ServerStats
fn default() -> ServerStats
Returns the “default value” for a type. Read more
impl Eq for ServerStats
Source§impl PartialEq for ServerStats
impl PartialEq for ServerStats
impl StructuralPartialEq for ServerStats
Auto Trait Implementations§
impl Freeze for ServerStats
impl RefUnwindSafe for ServerStats
impl Send for ServerStats
impl Sync for ServerStats
impl Unpin for ServerStats
impl UnsafeUnpin for ServerStats
impl UnwindSafe for ServerStats
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