pub struct ReactionCheckpoint {
pub sequence: u64,
pub config_hash: u64,
}Expand description
Checkpoint type for durable reaction progress tracking Persisted progress marker for a reaction’s subscription to a single query.
Stored in the state store under the key "checkpoint:{query_id}" using
bincode serialization for compactness.
Fields§
§sequence: u64The last outbox sequence number that was successfully processed.
config_hash: u64The query config hash at the time this checkpoint was written.
Trait Implementations§
Source§impl Clone for ReactionCheckpoint
impl Clone for ReactionCheckpoint
Source§fn clone(&self) -> ReactionCheckpoint
fn clone(&self) -> ReactionCheckpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReactionCheckpoint
impl Debug for ReactionCheckpoint
Source§impl<'de> Deserialize<'de> for ReactionCheckpoint
impl<'de> Deserialize<'de> for ReactionCheckpoint
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 ReactionCheckpoint
impl PartialEq for ReactionCheckpoint
Source§fn eq(&self, other: &ReactionCheckpoint) -> bool
fn eq(&self, other: &ReactionCheckpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReactionCheckpoint
impl Serialize for ReactionCheckpoint
impl Eq for ReactionCheckpoint
impl StructuralPartialEq for ReactionCheckpoint
Auto Trait Implementations§
impl Freeze for ReactionCheckpoint
impl RefUnwindSafe for ReactionCheckpoint
impl Send for ReactionCheckpoint
impl Sync for ReactionCheckpoint
impl Unpin for ReactionCheckpoint
impl UnsafeUnpin for ReactionCheckpoint
impl UnwindSafe for ReactionCheckpoint
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.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.