pub enum NetworkKind {
Ethernet,
Wifi,
Other,
}Expand description
What a network device is, from NetworkManager’s DeviceType.
Variants§
Trait Implementations§
Source§impl Clone for NetworkKind
impl Clone for NetworkKind
impl Copy for NetworkKind
Source§impl Debug for NetworkKind
impl Debug for NetworkKind
impl Eq for NetworkKind
Source§impl PartialEq for NetworkKind
impl PartialEq for NetworkKind
impl StructuralPartialEq for NetworkKind
Auto Trait Implementations§
impl Forget for NetworkKind
impl Freeze for NetworkKind
impl Move for NetworkKind
impl RefUnwindSafe for NetworkKind
impl Send for NetworkKind
impl Sync for NetworkKind
impl Unpin for NetworkKind
impl UnsafeUnpin for NetworkKind
impl UnwindSafe for NetworkKind
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