pub struct ScopeCursor {
pub scope_id: SyncScopeId,
pub version: ScopeVersion,
pub generation: ScopeGeneration,
pub sequence: Sequence,
}Expand description
A journal watermark meaningful only with its complete scope binding.
Fields§
§scope_id: SyncScopeId§version: ScopeVersion§generation: ScopeGeneration§sequence: SequenceImplementations§
Source§impl ScopeCursor
impl ScopeCursor
Sourcepub fn validate(
self,
current: &ResolvedScope,
retained_floor: Sequence,
) -> CursorValidity
pub fn validate( self, current: &ResolvedScope, retained_floor: Sequence, ) -> CursorValidity
Validates a cursor against the currently authorized binding and retention floor.
Sourcepub const fn legacy_cursor(self) -> Cursor
pub const fn legacy_cursor(self) -> Cursor
Narrows a validated binding to the legacy cursor consumed by journal, bootstrap, and anti-entropy adapters. Callers retain this full binding beside the returned value.
Trait Implementations§
Source§impl Clone for ScopeCursor
impl Clone for ScopeCursor
Source§fn clone(&self) -> ScopeCursor
fn clone(&self) -> ScopeCursor
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 moreimpl Copy for ScopeCursor
Source§impl Debug for ScopeCursor
impl Debug for ScopeCursor
Source§impl<'de> Deserialize<'de> for ScopeCursor
impl<'de> Deserialize<'de> for ScopeCursor
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
impl Eq for ScopeCursor
Source§impl PartialEq for ScopeCursor
impl PartialEq for ScopeCursor
Source§impl Serialize for ScopeCursor
impl Serialize for ScopeCursor
impl StructuralPartialEq for ScopeCursor
Auto Trait Implementations§
impl Freeze for ScopeCursor
impl RefUnwindSafe for ScopeCursor
impl Send for ScopeCursor
impl Sync for ScopeCursor
impl Unpin for ScopeCursor
impl UnsafeUnpin for ScopeCursor
impl UnwindSafe for ScopeCursor
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