pub enum PortClass {
Loopback,
Virtual,
Ethernet,
WlanClient,
WlanAp,
Ppp,
Bridge,
Lowpan,
Blackhole,
}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 UnsafeUnpin 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§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]