pub enum HostNetworkInterfaceMediumType {
Unknown,
Ethernet,
PPP,
SLIP,
}
Expand description
Type of encapsulation.
Ethernet encapsulation includes both wired and wireless Ethernet connections.
Variants§
Unknown
The type of interface cannot be determined.
Ethernet
Ethernet frame encapsulation.
PPP
Point-to-point protocol encapsulation.
SLIP
Serial line IP encapsulation.
Trait Implementations§
Source§impl From<u32> for HostNetworkInterfaceMediumType
impl From<u32> for HostNetworkInterfaceMediumType
Source§impl Ord for HostNetworkInterfaceMediumType
impl Ord for HostNetworkInterfaceMediumType
Source§fn cmp(&self, other: &HostNetworkInterfaceMediumType) -> Ordering
fn cmp(&self, other: &HostNetworkInterfaceMediumType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HostNetworkInterfaceMediumType
impl PartialEq for HostNetworkInterfaceMediumType
Source§fn eq(&self, other: &HostNetworkInterfaceMediumType) -> bool
fn eq(&self, other: &HostNetworkInterfaceMediumType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for HostNetworkInterfaceMediumType
impl PartialOrd for HostNetworkInterfaceMediumType
impl Eq for HostNetworkInterfaceMediumType
impl StructuralPartialEq for HostNetworkInterfaceMediumType
Auto Trait Implementations§
impl Freeze for HostNetworkInterfaceMediumType
impl RefUnwindSafe for HostNetworkInterfaceMediumType
impl Send for HostNetworkInterfaceMediumType
impl Sync for HostNetworkInterfaceMediumType
impl Unpin for HostNetworkInterfaceMediumType
impl UnwindSafe for HostNetworkInterfaceMediumType
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