This commit is contained in:
2022-12-05 09:03:40 +01:00
parent e8571866e8
commit 0c77a04059
3 changed files with 9 additions and 7 deletions

@ -478,10 +478,12 @@ impl SpHeader {
//noinspection RsTraitImplementation
delegate!(to self.packet_id {
/// Returns [false] and fails if the APID exceeds [MAX_APID]
pub fn set_apid(&mut self, apid: u16) -> bool;
});
delegate!(to self.psc {
/// Returns [false] and fails if the sequence count exceeds [MAX_SEQ_COUNT]
pub fn set_seq_count(&mut self, seq_count: u16) -> bool;
});