pub enum E2ECheckStatus {
Unchecked,
Ok,
CrcError,
Repeated,
OkSomeLost,
WrongSequence,
BadArgument,
}Expand description
Status result from E2E check operations.
Variants§
Unchecked
Initial state, no check performed yet.
Ok
Check passed successfully.
CrcError
CRC verification failed.
Repeated
Counter value is repeated (same as last received).
OkSomeLost
Check passed but some messages were lost (counter gap within tolerance).
WrongSequence
Counter sequence error (gap exceeds max_delta_counter).
BadArgument
Invalid input arguments (e.g., message too short).
Implementations§
Source§impl E2ECheckStatus
impl E2ECheckStatus
Sourcepub fn to_return_code(self) -> u8
pub fn to_return_code(self) -> u8
Convert to a numeric return code compatible with E2E.
Trait Implementations§
Source§impl Clone for E2ECheckStatus
impl Clone for E2ECheckStatus
Source§fn clone(&self) -> E2ECheckStatus
fn clone(&self) -> E2ECheckStatus
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 moreSource§impl Debug for E2ECheckStatus
impl Debug for E2ECheckStatus
Source§impl PartialEq for E2ECheckStatus
impl PartialEq for E2ECheckStatus
impl Copy for E2ECheckStatus
impl Eq for E2ECheckStatus
impl StructuralPartialEq for E2ECheckStatus
Auto Trait Implementations§
impl Freeze for E2ECheckStatus
impl RefUnwindSafe for E2ECheckStatus
impl Send for E2ECheckStatus
impl Sync for E2ECheckStatus
impl Unpin for E2ECheckStatus
impl UnsafeUnpin for E2ECheckStatus
impl UnwindSafe for E2ECheckStatus
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