pub struct BusStats {
pub messages_in: u64,
pub messages_out: u64,
pub bytes_in: u64,
pub bytes_out: u64,
pub worker_restarts: u64,
pub routing_errors: u64,
pub client_connects: u64,
pub client_disconnects: u64,
}Expand description
Runtime statistics
Fields§
§messages_in: u64Messages sent to workers
messages_out: u64Messages received from workers
bytes_in: u64Total bytes sent
bytes_out: u64Total bytes received
worker_restarts: u64Number of worker restarts
routing_errors: u64Messages that couldn’t be routed
client_connects: u64Client connections (TCP/Unix modes)
client_disconnects: u64Client disconnections
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BusStats
impl<'de> Deserialize<'de> for BusStats
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BusStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BusStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BusStats
impl Serialize for BusStats
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BusStats
impl RefUnwindSafe for BusStats
impl Send for BusStats
impl Sync for BusStats
impl Unpin for BusStats
impl UnsafeUnpin for BusStats
impl UnwindSafe for BusStats
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