pub struct PamojaSeenCache { /* private fields */ }Expand description
An opaque handle to a cache of recently seen packets.
Feed it every frame a node receives; it answers whether that packet is new, so
a node relays each packet once however many copies reach it. Release it with
pamoja_mesh_seen_free.
Auto Trait Implementations§
impl Freeze for PamojaSeenCache
impl RefUnwindSafe for PamojaSeenCache
impl Send for PamojaSeenCache
impl Sync for PamojaSeenCache
impl Unpin for PamojaSeenCache
impl UnsafeUnpin for PamojaSeenCache
impl UnwindSafe for PamojaSeenCache
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