#[repr(C)]pub enum LinkClass {
Show 13 variants
Phys = 1,
Vlan = 2,
Aggr = 4,
Vnic = 8,
Etherstub = 16,
Simnet = 32,
Bridge = 64,
IPtun = 128,
Part = 256,
Overlay = 512,
Misc = 1_024,
Tfport = 2_048,
All = 4_095,
}
Expand description
Link class specifies the type of datalink.
Variants§
Phys = 1
Vlan = 2
Aggr = 4
Vnic = 8
Etherstub = 16
Simnet = 32
Bridge = 64
IPtun = 128
Part = 256
Overlay = 512
Misc = 1_024
Tfport = 2_048
All = 4_095
Trait Implementations§
impl Eq for LinkClass
impl StructuralPartialEq for LinkClass
Auto Trait Implementations§
impl Freeze for LinkClass
impl RefUnwindSafe for LinkClass
impl Send for LinkClass
impl Sync for LinkClass
impl Unpin for LinkClass
impl UnwindSafe for LinkClass
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