#[non_exhaustive]pub enum LanInterfaceKind {
Wifi,
Ethernet,
Bridge,
Tunnel,
Virtual,
Loopback,
Unknown,
}Expand description
Interface role reported by platform metadata. This is not proof of reachability.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LanInterfaceKind
impl Clone for LanInterfaceKind
impl Copy for LanInterfaceKind
Source§impl Debug for LanInterfaceKind
impl Debug for LanInterfaceKind
Source§impl Default for LanInterfaceKind
impl Default for LanInterfaceKind
impl Eq for LanInterfaceKind
Source§impl PartialEq for LanInterfaceKind
impl PartialEq for LanInterfaceKind
impl StructuralPartialEq for LanInterfaceKind
Auto Trait Implementations§
impl Forget for LanInterfaceKind
impl Freeze for LanInterfaceKind
impl Move for LanInterfaceKind
impl RefUnwindSafe for LanInterfaceKind
impl Send for LanInterfaceKind
impl Sync for LanInterfaceKind
impl Unpin for LanInterfaceKind
impl UnsafeUnpin for LanInterfaceKind
impl UnwindSafe for LanInterfaceKind
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