Enum de_net::connection::delivery::received::IdContinuity
source · pub(super) enum IdContinuity {
Sparse,
Continuous(PackageId),
}
Variants§
Sparse
Some of the earlier packages has not yet been received.
Continuous(PackageId)
All earlier packages has been received. Delivery discontinuity starts at the attached ID (i.e. first non yet received package).
Trait Implementations§
source§impl Debug for IdContinuity
impl Debug for IdContinuity
source§impl PartialEq for IdContinuity
impl PartialEq for IdContinuity
source§fn eq(&self, other: &IdContinuity) -> bool
fn eq(&self, other: &IdContinuity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IdContinuity
impl StructuralPartialEq for IdContinuity
Auto Trait Implementations§
impl Freeze for IdContinuity
impl RefUnwindSafe for IdContinuity
impl Send for IdContinuity
impl Sync for IdContinuity
impl Unpin for IdContinuity
impl UnwindSafe for IdContinuity
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.