pub enum ReplayVerdict {
Accept,
Replay,
OutOfWindow,
Stale,
}Expand description
Result of checking a packet against a replay window.
Variants§
Accept
The packet is acceptable.
Replay
The exact counter/MIC pair was already accepted.
OutOfWindow
The counter is too far behind the tracked window.
Stale
The replay state is too stale to safely accept backward-window traffic.
Trait Implementations§
Source§impl Clone for ReplayVerdict
impl Clone for ReplayVerdict
Source§fn clone(&self) -> ReplayVerdict
fn clone(&self) -> ReplayVerdict
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 Debug for ReplayVerdict
impl Debug for ReplayVerdict
Source§impl PartialEq for ReplayVerdict
impl PartialEq for ReplayVerdict
impl Copy for ReplayVerdict
impl Eq for ReplayVerdict
impl StructuralPartialEq for ReplayVerdict
Auto Trait Implementations§
impl Freeze for ReplayVerdict
impl RefUnwindSafe for ReplayVerdict
impl Send for ReplayVerdict
impl Sync for ReplayVerdict
impl Unpin for ReplayVerdict
impl UnwindSafe for ReplayVerdict
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)