pub struct V2ipVlanFlag(/* private fields */);Expand description
The flags of a V2IP device’s VLAN configuration.
Implementations§
Source§impl V2ipVlanFlag
impl V2ipVlanFlag
Sourcepub const VALID: Self
pub const VALID: Self
The block carries a configuration. A block without it carries nothing, whatever its other bytes hold.
Sourcepub const TRUNK: Self
pub const TRUNK: Self
Untagged frames arriving on the uplink are dropped instead of reaching the device.
Sourcepub const PENDING: Self
pub const PENDING: Self
Reported by the device: the configuration is applied, and reverted unless the mesh controller confirms it. Never written.
Sourcepub const CONFIRM: Self
pub const CONFIRM: Self
Sent by the mesh controller: a pending configuration it heard, which the device then keeps.
Trait Implementations§
Source§impl BitAnd for V2ipVlanFlag
impl BitAnd for V2ipVlanFlag
Source§impl BitOr for V2ipVlanFlag
impl BitOr for V2ipVlanFlag
Source§impl BitOrAssign for V2ipVlanFlag
impl BitOrAssign for V2ipVlanFlag
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for V2ipVlanFlag
impl Clone for V2ipVlanFlag
impl Copy for V2ipVlanFlag
Source§impl Debug for V2ipVlanFlag
impl Debug for V2ipVlanFlag
Source§impl Default for V2ipVlanFlag
impl Default for V2ipVlanFlag
Source§impl Display for V2ipVlanFlag
impl Display for V2ipVlanFlag
impl Eq for V2ipVlanFlag
Source§impl Hash for V2ipVlanFlag
impl Hash for V2ipVlanFlag
Source§impl Ord for V2ipVlanFlag
impl Ord for V2ipVlanFlag
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for V2ipVlanFlag
impl PartialEq for V2ipVlanFlag
Source§impl PartialOrd for V2ipVlanFlag
impl PartialOrd for V2ipVlanFlag
impl StructuralPartialEq for V2ipVlanFlag
Auto Trait Implementations§
impl Freeze for V2ipVlanFlag
impl RefUnwindSafe for V2ipVlanFlag
impl Send for V2ipVlanFlag
impl Sync for V2ipVlanFlag
impl Unpin for V2ipVlanFlag
impl UnsafeUnpin for V2ipVlanFlag
impl UnwindSafe for V2ipVlanFlag
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