pub struct MetricsSnapshot {
pub mcp_messages: u64,
pub dcp_messages: u64,
pub mcp_bytes: u64,
pub dcp_bytes: u64,
pub avg_mcp_latency_us: u64,
pub avg_dcp_latency_us: u64,
pub tool_invocations: u64,
pub errors: u64,
}Expand description
Snapshot of metrics at a point in time
Fields§
§mcp_messages: u64§dcp_messages: u64§mcp_bytes: u64§dcp_bytes: u64§avg_mcp_latency_us: u64§avg_dcp_latency_us: u64§tool_invocations: u64§errors: u64Trait Implementations§
Source§impl Clone for MetricsSnapshot
impl Clone for MetricsSnapshot
Source§fn clone(&self) -> MetricsSnapshot
fn clone(&self) -> MetricsSnapshot
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 moreAuto Trait Implementations§
impl Freeze for MetricsSnapshot
impl RefUnwindSafe for MetricsSnapshot
impl Send for MetricsSnapshot
impl Sync for MetricsSnapshot
impl Unpin for MetricsSnapshot
impl UnsafeUnpin for MetricsSnapshot
impl UnwindSafe for MetricsSnapshot
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