pub struct ProtocolStats {
pub messages_sent: u64,
pub messages_received: u64,
pub transmission_failures: u64,
pub avg_processing_time: u64,
pub uptime_seconds: u64,
pub peak_neural_activity: f64,
pub peak_consciousness: f64,
}
Expand description
Protocol performance statistics
Fields§
§messages_sent: u64
Total messages sent
messages_received: u64
Total messages received
transmission_failures: u64
Total failed transmissions
avg_processing_time: u64
Average processing time per message
uptime_seconds: u64
Total protocol uptime
peak_neural_activity: f64
Peak neural activity recorded
peak_consciousness: f64
Peak consciousness level recorded
Trait Implementations§
Source§impl Clone for ProtocolStats
impl Clone for ProtocolStats
Source§fn clone(&self) -> ProtocolStats
fn clone(&self) -> ProtocolStats
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 moreSource§impl Debug for ProtocolStats
impl Debug for ProtocolStats
Source§impl Default for ProtocolStats
impl Default for ProtocolStats
Source§fn default() -> ProtocolStats
fn default() -> ProtocolStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolStats
impl RefUnwindSafe for ProtocolStats
impl Send for ProtocolStats
impl Sync for ProtocolStats
impl Unpin for ProtocolStats
impl UnwindSafe for ProtocolStats
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