pub struct UnitFlag(/* private fields */);Expand description
The flags of a unit’s status report.
Implementations§
Source§impl UnitFlag
impl UnitFlag
Sourcepub const REBOOT_REQUIRED: Self
pub const REBOOT_REQUIRED: Self
A changed setting takes effect after a reboot.
Sourcepub const FPGA_UPGRADE: Self
pub const FPGA_UPGRADE: Self
A newer video processor image is available.
Sourcepub const NET_PENDING: Self
pub const NET_PENDING: Self
The IP configuration was changed through the mesh, and is reverted unless the mesh controller confirms it in time.
Sourcepub const EXTERNAL_PSU: Self
pub const EXTERNAL_PSU: Self
Powered by an external supply rather than PoE.
Sourcepub const FPGA_CONFIGURED: Self
pub const FPGA_CONFIGURED: Self
The video processor runs with its IP configured. Without it the encoder and decoder health carry nothing.
Sourcepub const ENCODER_ACTIVE: Self
pub const ENCODER_ACTIVE: Self
The encoder is enabled.
Sourcepub const DECODER_ACTIVE: Self
pub const DECODER_ACTIVE: Self
The decoder is enabled.
Sourcepub const AUTO_DISABLE: Self
pub const AUTO_DISABLE: Self
The decoder disables itself without a display.
Sourcepub const AUTO_DISABLE_ACTIVE: Self
pub const AUTO_DISABLE_ACTIVE: Self
The decoder disabled itself without a display.
Sourcepub const OFF_NO_SIGNAL: Self
pub const OFF_NO_SIGNAL: Self
The HDMI output switches off without a signal.
Sourcepub const OFF_NO_SIGNAL_ACTIVE: Self
pub const OFF_NO_SIGNAL_ACTIVE: Self
The HDMI output switched off without a signal.
Sourcepub const POWER_CHECK: Self
pub const POWER_CHECK: Self
Display power is checked before the decoder is enabled.
Sourcepub const BOOT_COUNT: Self
pub const BOOT_COUNT: Self
The boot count is reported.
Trait Implementations§
Source§impl BitOrAssign for UnitFlag
impl BitOrAssign for UnitFlag
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for UnitFlag
impl Eq for UnitFlag
Source§impl Ord for UnitFlag
impl Ord for UnitFlag
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 PartialOrd for UnitFlag
impl PartialOrd for UnitFlag
impl StructuralPartialEq for UnitFlag
Auto Trait Implementations§
impl Freeze for UnitFlag
impl RefUnwindSafe for UnitFlag
impl Send for UnitFlag
impl Sync for UnitFlag
impl Unpin for UnitFlag
impl UnsafeUnpin for UnitFlag
impl UnwindSafe for UnitFlag
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