pub(super) struct Received {
highest_id: Option<PackageId>,
holes: BTreeSet<PackageId>,
}
Expand description
Database of already received packages. It servers for duplicate and out-of-order delivery detection.
Fields§
§highest_id: Option<PackageId>
§holes: BTreeSet<PackageId>
Implementations§
Auto Trait Implementations§
impl Freeze for Received
impl RefUnwindSafe for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnwindSafe for Received
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