pub enum Confirmation {
None,
AtTime,
At(Time),
}Expand description
When the owner last vouched for a live entry: the flags’ bits 6–5.
Variants§
None
0: the collection has no horizon. A tombstone’s is always 0.
AtTime
1: the owner vouches for the member as it builds the snapshot, at the snapshot’s time, as a heartbeat sent then would.
At(Time)
2: the owner does not vouch for it now; conf follows, its last
confirmation, the later of its last mutation and the last heartbeat
that vouched for it. Unknown when the owner’s clock was.
Implementations§
Trait Implementations§
Source§impl Clone for Confirmation
impl Clone for Confirmation
impl Copy for Confirmation
Source§impl Debug for Confirmation
impl Debug for Confirmation
impl Eq for Confirmation
Source§impl Hash for Confirmation
impl Hash for Confirmation
Source§impl PartialEq for Confirmation
impl PartialEq for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Forget for Confirmation
impl Freeze for Confirmation
impl Move for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
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