pub struct BondSlave {
pub name: String,
pub mac_address: [u8; 6],
pub link_up: bool,
pub is_active: bool,
pub tx_packets: u64,
pub rx_packets: u64,
pub last_arp_reply_ms: u64,
}Expand description
A slave (member) interface within a bond
Fields§
§name: StringInterface name (e.g., “eth0”)
mac_address: [u8; 6]Hardware MAC address
link_up: boolWhether the physical link is up
is_active: boolWhether this slave is the active transmitter (ActiveBackup mode)
tx_packets: u64Transmitted packet count
rx_packets: u64Received packet count
last_arp_reply_ms: u64Last successful ARP response timestamp (ms)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BondSlave
impl RefUnwindSafe for BondSlave
impl Send for BondSlave
impl Sync for BondSlave
impl Unpin for BondSlave
impl UnwindSafe for BondSlave
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)