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.
Sourcepub const AUTO_NAME: Self
pub const AUTO_NAME: Self
The bay’s name was generated - a default, or taken from CEC or the EDID - rather than set by a user. A device that predates this bit never sets it, so a clear bit does not prove a user set the name.
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)
|= operation. Read more