pub struct StoreAckAssertion {
pub registration: StoreDeviceRegistrationRef,
pub store_cut: StoreHistoryCut,
pub device_state: StoreDeviceStateRef,
pub snapshot: Option<StoreSnapshotLocator>,
pub exclusions: StoreAckExclusionState,
}Expand description
What a Store acknowledgement asserts, apart from the bookkeeping every acknowledgement carries fresh: its sequence, the wall clock it was written at, and its links to the neighbours in the device’s acknowledgement chain.
Two acknowledgements with equal assertions tell every reader the same thing. That matters because publishing an acknowledgement appends a commit, and a commit that says nothing new still lands in every device’s history, every retained materialization, and every snapshot — a store that is doing nothing grows one commit per device per cycle, forever.
Fields§
§registration: StoreDeviceRegistrationRef§store_cut: StoreHistoryCut§device_state: StoreDeviceStateRef§snapshot: Option<StoreSnapshotLocator>§exclusions: StoreAckExclusionStateTrait Implementations§
Source§impl Clone for StoreAckAssertion
impl Clone for StoreAckAssertion
Source§fn clone(&self) -> StoreAckAssertion
fn clone(&self) -> StoreAckAssertion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreAckAssertion
impl Debug for StoreAckAssertion
Source§impl<'de> Deserialize<'de> for StoreAckAssertion
impl<'de> Deserialize<'de> for StoreAckAssertion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StoreAckAssertion
impl PartialEq for StoreAckAssertion
Source§impl Serialize for StoreAckAssertion
impl Serialize for StoreAckAssertion
impl Eq for StoreAckAssertion
impl StructuralPartialEq for StoreAckAssertion
Auto Trait Implementations§
impl Freeze for StoreAckAssertion
impl RefUnwindSafe for StoreAckAssertion
impl Send for StoreAckAssertion
impl Sync for StoreAckAssertion
impl Unpin for StoreAckAssertion
impl UnsafeUnpin for StoreAckAssertion
impl UnwindSafe for StoreAckAssertion
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.