pub struct InputLinkStats {
pub connection_descriptor: u8,
pub link_type: u8,
pub bytes_received: u32,
pub bytes_accepted: u32,
pub messages_received: u32,
pub messages_accepted: u32,
/* private fields */
}Expand description
Input link statistics entry
Fields§
§connection_descriptor: u8Connection descriptor
link_type: u8Link type
bytes_received: u32Bytes received
bytes_accepted: u32Bytes accepted
messages_received: u32Messages received
messages_accepted: u32Messages accepted
Implementations§
Source§impl InputLinkStats
impl InputLinkStats
pub fn age_last_message_s(&self) -> Option<u16>
pub fn age_last_message_raw(&self) -> u16
Trait Implementations§
Source§impl Clone for InputLinkStats
impl Clone for InputLinkStats
Source§fn clone(&self) -> InputLinkStats
fn clone(&self) -> InputLinkStats
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 moreAuto Trait Implementations§
impl Freeze for InputLinkStats
impl RefUnwindSafe for InputLinkStats
impl Send for InputLinkStats
impl Sync for InputLinkStats
impl Unpin for InputLinkStats
impl UnsafeUnpin for InputLinkStats
impl UnwindSafe for InputLinkStats
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