#[non_exhaustive]pub struct StatusFlags {
pub clock_detected: bool,
pub ch0_locked: bool,
pub ch1_locked: bool,
pub ch2_locked: bool,
pub ln3_locked: bool,
pub flt_ready: bool,
pub dsc_decode_fail: bool,
}Expand description
Decoded content of Status_Flags_0 (0x40).
The per-lane link training pattern requests live in Status_Flags_1/_2 and are
read separately with Scdc::read_ltp_requests;
FRL_Start is an Update_0 flag (UpdateFlags::frl_start).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.clock_detected: boolBit 0: the sink detects a clock.
ch0_locked: boolBit 1: channel 0 locked.
ch1_locked: boolBit 2: channel 1 locked.
ch2_locked: boolBit 3: channel 2 locked.
ln3_locked: boolBit 4: lane 3 locked (FRL 4-lane only).
flt_ready: boolBit 6: the sink is ready for link training.
dsc_decode_fail: boolBit 7: the sink failed to decode the DSC stream.
Implementations§
Trait Implementations§
Source§impl Clone for StatusFlags
impl Clone for StatusFlags
Source§fn clone(&self) -> StatusFlags
fn clone(&self) -> StatusFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StatusFlags
Source§impl Debug for StatusFlags
impl Debug for StatusFlags
impl Eq for StatusFlags
Source§impl PartialEq for StatusFlags
impl PartialEq for StatusFlags
impl StructuralPartialEq for StatusFlags
Auto Trait Implementations§
impl Freeze for StatusFlags
impl RefUnwindSafe for StatusFlags
impl Send for StatusFlags
impl Sync for StatusFlags
impl Unpin for StatusFlags
impl UnsafeUnpin for StatusFlags
impl UnwindSafe for StatusFlags
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