pub enum DupCacheKey {
Mic {
bytes: [u8; 16],
len: u8,
route_retry: bool,
},
Hash32(u32),
}Expand description
Duplicate-suppression key derived from an accepted packet.
Variants§
Mic
Authenticated routable packet keyed by its MIC bytes.
Hash32(u32)
MIC-less routable packet keyed by a stable local hash over non-dynamic fields.
Trait Implementations§
Source§impl Clone for DupCacheKey
impl Clone for DupCacheKey
Source§fn clone(&self) -> DupCacheKey
fn clone(&self) -> DupCacheKey
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 DupCacheKey
impl Debug for DupCacheKey
Source§impl PartialEq for DupCacheKey
impl PartialEq for DupCacheKey
impl Eq for DupCacheKey
impl StructuralPartialEq for DupCacheKey
Auto Trait Implementations§
impl Freeze for DupCacheKey
impl RefUnwindSafe for DupCacheKey
impl Send for DupCacheKey
impl Sync for DupCacheKey
impl Unpin for DupCacheKey
impl UnwindSafe for DupCacheKey
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)