pub struct V2ipPtpFlag(/* private fields */);Expand description
The flags of a V2IP device’s PTP state.
Implementations§
Source§impl V2ipPtpFlag
impl V2ipPtpFlag
Sourcepub const VALID: Self
pub const VALID: Self
The device runs PTP and the block holds its state. A block without it holds nothing: the device has no PTP, or is in power save.
Sourcepub const FOLLOWED: Self
pub const FOLLOWED: Self
The device locked to a master since its PTP started, so its mesh holds a time.
Trait Implementations§
Source§impl BitAnd for V2ipPtpFlag
impl BitAnd for V2ipPtpFlag
Source§impl BitOr for V2ipPtpFlag
impl BitOr for V2ipPtpFlag
Source§impl BitOrAssign for V2ipPtpFlag
impl BitOrAssign for V2ipPtpFlag
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for V2ipPtpFlag
impl Clone for V2ipPtpFlag
impl Copy for V2ipPtpFlag
Source§impl Debug for V2ipPtpFlag
impl Debug for V2ipPtpFlag
Source§impl Default for V2ipPtpFlag
impl Default for V2ipPtpFlag
Source§impl Display for V2ipPtpFlag
impl Display for V2ipPtpFlag
impl Eq for V2ipPtpFlag
Source§impl Hash for V2ipPtpFlag
impl Hash for V2ipPtpFlag
Source§impl Ord for V2ipPtpFlag
impl Ord for V2ipPtpFlag
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 V2ipPtpFlag
impl PartialEq for V2ipPtpFlag
Source§impl PartialOrd for V2ipPtpFlag
impl PartialOrd for V2ipPtpFlag
impl StructuralPartialEq for V2ipPtpFlag
Auto Trait Implementations§
impl Freeze for V2ipPtpFlag
impl RefUnwindSafe for V2ipPtpFlag
impl Send for V2ipPtpFlag
impl Sync for V2ipPtpFlag
impl Unpin for V2ipPtpFlag
impl UnsafeUnpin for V2ipPtpFlag
impl UnwindSafe for V2ipPtpFlag
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