pub enum VlanError {
InvalidVid(u16),
AlreadyExists,
NotFound,
}Expand description
Errors from VLAN operations.
Variants§
InvalidVid(u16)
VLAN ID out of valid range (1-4094).
AlreadyExists
A VLAN with this (parent, vid) already exists.
NotFound
No VLAN found for the given (parent, vid).
Trait Implementations§
impl Eq for VlanError
impl StructuralPartialEq for VlanError
Auto Trait Implementations§
impl Freeze for VlanError
impl RefUnwindSafe for VlanError
impl Send for VlanError
impl Sync for VlanError
impl Unpin for VlanError
impl UnwindSafe for VlanError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)