#[non_exhaustive]pub struct ClearableUpdateFlags {
pub status_update: bool,
pub ced_update: bool,
pub source_test_update: bool,
pub frl_start: bool,
pub flt_update: bool,
pub rsed_update: bool,
}Expand description
The Update_0 flags a source may clear: every flag but RR_Test (bit 2).
Taken by ScdcClient::clear_update_flags;
mirrors culvert’s ClearableUpdateFlags field for field. plumbob clears only the flags
it acts on (source_test_update, frl_start, flt_update). RR_Test has no field
because it belongs to the sink’s read-request test; culvert’s architecture document
(“RR_Test is not cleared”) gives the sources for that rule. The default clears nothing.
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.status_update: boolBit 0: general status has changed.
ced_update: boolBit 1: CED counters have been updated.
source_test_update: boolBit 3: the sink has written Source_Test_Configuration (0x35).
frl_start: boolBit 4: link training passed.
flt_update: boolBit 5: the per-lane link training pattern requests have changed.
rsed_update: boolBit 6: the Reed-Solomon correction count has been updated.
Implementations§
Trait Implementations§
Source§impl Clone for ClearableUpdateFlags
impl Clone for ClearableUpdateFlags
Source§fn clone(&self) -> ClearableUpdateFlags
fn clone(&self) -> ClearableUpdateFlags
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 ClearableUpdateFlags
Source§impl Debug for ClearableUpdateFlags
impl Debug for ClearableUpdateFlags
Source§impl Default for ClearableUpdateFlags
impl Default for ClearableUpdateFlags
Source§fn default() -> ClearableUpdateFlags
fn default() -> ClearableUpdateFlags
Returns the “default value” for a type. Read more
impl Eq for ClearableUpdateFlags
Source§impl PartialEq for ClearableUpdateFlags
impl PartialEq for ClearableUpdateFlags
impl StructuralPartialEq for ClearableUpdateFlags
Auto Trait Implementations§
impl Freeze for ClearableUpdateFlags
impl RefUnwindSafe for ClearableUpdateFlags
impl Send for ClearableUpdateFlags
impl Sync for ClearableUpdateFlags
impl Unpin for ClearableUpdateFlags
impl UnsafeUnpin for ClearableUpdateFlags
impl UnwindSafe for ClearableUpdateFlags
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