pub enum Discard {
NoIncumbent,
NoRun,
NotIncumbent,
Unattributed,
NoStamp,
}Expand description
Why the fence discards a sample (v2 §2.10, v1 §2.10).
Variants§
NoIncumbent
No incumbent seen: what the follower holds is the last incumbent’s last word.
NoRun
A redundancy.v2 incumbent, and a sample with no envelope.
NotIncumbent
Another instance’s: its run is one another instance’s descriptor
stated, or, under a redundancy.v1 incumbent, its stamp’s id is
not the incumbent’s meta.zid.
Unattributed
No descriptor the follower holds states its run, once a read asked
after it arrived has ended; or a redundancy.v1 incumbent whose
meta.zid is not held.
NoStamp
A redundancy.v1 incumbent, and a sample with no Zenoh timestamp.
Implementations§
Trait Implementations§
impl Copy for Discard
impl Eq for Discard
impl StructuralPartialEq for Discard
Auto Trait Implementations§
impl Forget for Discard
impl Freeze for Discard
impl Move for Discard
impl RefUnwindSafe for Discard
impl Send for Discard
impl Sync for Discard
impl Unpin for Discard
impl UnsafeUnpin for Discard
impl UnwindSafe for Discard
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more