Struct sbp::messages::linux::MsgLinuxSocketUsage [−][src]
pub struct MsgLinuxSocketUsage {
pub sender_id: Option<u16>,
pub avg_queue_depth: u32,
pub max_queue_depth: u32,
pub socket_state_counts: [u16; 16],
pub socket_type_counts: [u16; 16],
}
Expand description
Summary of socket usage across the system
Summaries the socket usage across the system.
Fields
sender_id: Option<u16>
The message sender_id
avg_queue_depth: u32
average socket queue depths across all sockets on the system
max_queue_depth: u32
the max queue depth seen within the reporting period
socket_state_counts: [u16; 16]
A count for each socket type reported in the socket_types_reported
field, the first entry corresponds to the first enabled bit in
types_reported
.
socket_type_counts: [u16; 16]
A count for each socket type reported in the socket_types_reported
field, the first entry corresponds to the first enabled bit in
types_reported
.
Trait Implementations
The message type.
The message name.
Performs the conversion.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgLinuxSocketUsage
impl Send for MsgLinuxSocketUsage
impl Sync for MsgLinuxSocketUsage
impl Unpin for MsgLinuxSocketUsage
impl UnwindSafe for MsgLinuxSocketUsage
Blanket Implementations
Mutably borrows from an owned value. Read more