pub struct Wired {
pub device: DeviceWired,
pub connectivity: Property<NetworkStatus>,
pub ip4_address: Property<Option<String>>,
}Expand description
Wired (ethernet) device state. See crate-level docs for usage.
Fields§
§device: DeviceWiredUnderlying device properties.
connectivity: Property<NetworkStatus>Current connectivity status.
ip4_address: Property<Option<String>>IPv4 address assigned to this device.
Trait Implementations§
Source§impl ModelMonitoring for Wired
impl ModelMonitoring for Wired
Auto Trait Implementations§
impl !RefUnwindSafe for Wired
impl !UnwindSafe for Wired
impl Freeze for Wired
impl Send for Wired
impl Sync for Wired
impl Unpin for Wired
impl UnsafeUnpin for Wired
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