#[non_exhaustive]#[repr(u8)]pub enum Vlan {
Add = 0,
Del = 1,
}
Expand description
VLAN filtering commands
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 TryFromPrimitive for Vlan
impl TryFromPrimitive for Vlan
impl Copy for Vlan
impl Eq for Vlan
impl StructuralPartialEq for Vlan
Auto Trait Implementations§
impl Freeze for Vlan
impl RefUnwindSafe for Vlan
impl Send for Vlan
impl Sync for Vlan
impl Unpin for Vlan
impl UnwindSafe for Vlan
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