pub enum PortClass {
Loopback,
Virtual,
Ethernet,
WlanClient,
WlanAp,
Ppp,
Bridge,
Lowpan,
}
Expand description
Like fnet_interfaces::PortClass
, with the inner device
flattened.
This type also derives additional impls that are not available on
fnet_interfaces::PortClass
.
Variants§
Implementations§
Trait Implementations§
impl Copy for PortClass
impl Eq for PortClass
impl StructuralPartialEq for PortClass
Auto Trait Implementations§
impl Freeze for PortClass
impl RefUnwindSafe for PortClass
impl Send for PortClass
impl Sync for PortClass
impl Unpin for PortClass
impl UnwindSafe for PortClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)