pub struct PortCaps {
pub rate: Baud,
pub traffic_level: Option<u8>,
pub tx_tail: u8,
pub tx_delay: u8,
pub persist: u8,
pub slot_time: u8,
pub max_frame: u8,
pub active_connections: u8,
pub bytes_per_2min: u32,
}Expand description
Port capabilities.
Fields§
§rate: BaudOn air baud rate.
traffic_level: Option<u8>Traffic level.
None if port is not in autoupdate mode.
tx_tail: u8§tx_delay: u8§persist: u8§slot_time: u8§max_frame: u8§active_connections: u8How many connections are active on this port
bytes_per_2min: u32How many bytes received in the last 2 minutes as a 32 bits (4 bytes) integer. Updated every two minutes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PortCaps
impl RefUnwindSafe for PortCaps
impl Send for PortCaps
impl Sync for PortCaps
impl Unpin for PortCaps
impl UnsafeUnpin for PortCaps
impl UnwindSafe for PortCaps
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