pub struct LinkStatus {
pub enabled: bool,
pub connected: bool,
pub dynconnected: bool,
pub mtu: u32,
pub src_ipaddr: String,
pub dst_ipaddr: String,
}Expand description
Status of a link inside NodeStatus struct
Fields§
§enabled: bool§connected: bool§dynconnected: bool§mtu: u32§src_ipaddr: String§dst_ipaddr: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for LinkStatus
impl RefUnwindSafe for LinkStatus
impl Send for LinkStatus
impl Sync for LinkStatus
impl Unpin for LinkStatus
impl UnwindSafe for LinkStatus
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