pub struct Sqn(/* private fields */);Expand description
Sequence number (0..=3).
§Spec: §5.7, §Table 2
SQN 0 is reserved for boot/recovery. Normal cycle is 1 → 2 → 3 → 1 → ….
The ACU re-uses an outstanding SQN to request a reply repeat from the
PD; the PD treats a new SQN as a new command.
Implementations§
Trait Implementations§
impl Copy for Sqn
impl Eq for Sqn
impl StructuralPartialEq for Sqn
Auto Trait Implementations§
impl Freeze for Sqn
impl RefUnwindSafe for Sqn
impl Send for Sqn
impl Sync for Sqn
impl Unpin for Sqn
impl UnsafeUnpin for Sqn
impl UnwindSafe for Sqn
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