pub struct BayStatus(/* private fields */);Expand description
Live status flags of a single bay.
Bits 16-19 and 22-23 are bit-fields rather than flags; read them with
BayStatus::rc_type and BayStatus::hdcp.
Implementations§
Source§impl BayStatus
impl BayStatus
Sourcepub const SIGNAL_DETECTED: Self
pub const SIGNAL_DETECTED: Self
A signal is present.
Sourcepub const HPD_DETECTED: Self
pub const HPD_DETECTED: Self
Hot-plug detect is asserted.
Sourcepub const SIGNAL_SCRAMBLE: Self
pub const SIGNAL_SCRAMBLE: Self
The signal is scrambled.
Sourcepub const HDBT_CONNECTED: Self
pub const HDBT_CONNECTED: Self
An HDBaseT link is up.
Sourcepub const CEC_DETECTED: Self
pub const CEC_DETECTED: Self
A CEC device answered.
Sourcepub const POWERED_ON: Self
pub const POWERED_ON: Self
The attached device was powered on.
Sourcepub const POWERED_OFF: Self
pub const POWERED_OFF: Self
The attached device was powered off.
Sourcepub const AUDIO_ARC_HDMI: Self
pub const AUDIO_ARC_HDMI: Self
Audio return over HDMI is active.
Sourcepub const AUDIO_ARC_OPTIC: Self
pub const AUDIO_ARC_OPTIC: Self
Audio return over optical is active.
Sourcepub const AUDIO_ARC_ANALOG: Self
pub const AUDIO_ARC_ANALOG: Self
Audio return over analogue is active.
Sourcepub const DECODER_DISABLE: Self
pub const DECODER_DISABLE: Self
The V2IP decoder is disabled.
Sourcepub const ENCODER_DISABLE: Self
pub const ENCODER_DISABLE: Self
The V2IP encoder is disabled.
Sourcepub const CEC_DISABLED: Self
pub const CEC_DISABLED: Self
CEC is switched off for this bay.
Sourcepub const ENCODER_ERROR: Self
pub const ENCODER_ERROR: Self
The V2IP encoder reports an error.
Trait Implementations§
Source§impl BitOrAssign for BayStatus
impl BitOrAssign for BayStatus
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for BayStatus
impl Eq for BayStatus
Source§impl Ord for BayStatus
impl Ord for BayStatus
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 BayStatus
impl PartialOrd for BayStatus
impl StructuralPartialEq for BayStatus
Auto Trait Implementations§
impl Freeze for BayStatus
impl RefUnwindSafe for BayStatus
impl Send for BayStatus
impl Sync for BayStatus
impl Unpin for BayStatus
impl UnsafeUnpin for BayStatus
impl UnwindSafe for BayStatus
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