pub enum CounterPersistenceError<StoreError> {
IdentityMissing,
Store(StoreError),
}Expand description
Errors returned while loading persisted frame-counter boundaries via Mac::load_persisted_counter.
On startup, applications should call Mac::load_persisted_counter for each registered
long-term identity to restore the safe starting point for the frame counter from
non-volatile storage.
Variants§
IdentityMissing
The LocalIdentityId supplied does not correspond to an occupied identity slot.
Store(StoreError)
The underlying umsh_hal::CounterStore read operation failed. The application
should decide whether to halt, retry, or start the counter at a conservatively high
value to avoid replay-window collisions with pre-reset traffic.
Trait Implementations§
Source§impl<StoreError: Clone> Clone for CounterPersistenceError<StoreError>
impl<StoreError: Clone> Clone for CounterPersistenceError<StoreError>
Source§fn clone(&self) -> CounterPersistenceError<StoreError>
fn clone(&self) -> CounterPersistenceError<StoreError>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<StoreError: Debug> Debug for CounterPersistenceError<StoreError>
impl<StoreError: Debug> Debug for CounterPersistenceError<StoreError>
Source§impl<StoreError: PartialEq> PartialEq for CounterPersistenceError<StoreError>
impl<StoreError: PartialEq> PartialEq for CounterPersistenceError<StoreError>
impl<StoreError: Eq> Eq for CounterPersistenceError<StoreError>
impl<StoreError> StructuralPartialEq for CounterPersistenceError<StoreError>
Auto Trait Implementations§
impl<StoreError> Freeze for CounterPersistenceError<StoreError>where
StoreError: Freeze,
impl<StoreError> RefUnwindSafe for CounterPersistenceError<StoreError>where
StoreError: RefUnwindSafe,
impl<StoreError> Send for CounterPersistenceError<StoreError>where
StoreError: Send,
impl<StoreError> Sync for CounterPersistenceError<StoreError>where
StoreError: Sync,
impl<StoreError> Unpin for CounterPersistenceError<StoreError>where
StoreError: Unpin,
impl<StoreError> UnwindSafe for CounterPersistenceError<StoreError>where
StoreError: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)