pub struct Profile5Config {
pub data_id: u16,
pub data_length: u16,
pub max_delta_counter: u8,
}Expand description
Configuration for E2E Profile 5.
Fields§
§data_id: u16Unique identifier for this data element (included in CRC calculation).
Profile 5 uses a 16-bit DataID.
data_length: u16Expected data length (used in CRC calculation).
max_delta_counter: u8Maximum allowed counter delta before reporting WrongSequence.
Implementations§
Trait Implementations§
Source§impl Clone for Profile5Config
impl Clone for Profile5Config
Source§fn clone(&self) -> Profile5Config
fn clone(&self) -> Profile5Config
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Profile5Config
impl RefUnwindSafe for Profile5Config
impl Send for Profile5Config
impl Sync for Profile5Config
impl Unpin for Profile5Config
impl UnsafeUnpin for Profile5Config
impl UnwindSafe for Profile5Config
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