pub struct NetworkDevice {
pub path: String,
pub interface: String,
pub kind: NetworkKind,
pub state: NetworkState,
pub connection: String,
}Expand description
A network device NetworkManager manages, other than loopback.
Fields§
§path: StringNetworkManager’s object path for it, which names it while it exists.
interface: StringIts interface, such as wlan0.
kind: NetworkKindWhat it is.
state: NetworkStateHow it is doing.
connection: StringThe name of its active connection, or "".
Trait Implementations§
Source§impl Clone for NetworkDevice
impl Clone for NetworkDevice
Source§impl Debug for NetworkDevice
impl Debug for NetworkDevice
Source§impl PartialEq for NetworkDevice
impl PartialEq for NetworkDevice
impl StructuralPartialEq for NetworkDevice
Auto Trait Implementations§
impl Forget for NetworkDevice
impl Freeze for NetworkDevice
impl Move for NetworkDevice
impl RefUnwindSafe for NetworkDevice
impl Send for NetworkDevice
impl Sync for NetworkDevice
impl Unpin for NetworkDevice
impl UnsafeUnpin for NetworkDevice
impl UnwindSafe for NetworkDevice
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