pub struct DerivedProgress { /* private fields */ }Expand description
Progress of derived records, independent from primary-log acknowledgement.
Implementations§
Source§impl DerivedProgress
impl DerivedProgress
Sourcepub const fn new(source_watermark: i64, derived_watermark: i64) -> Self
pub const fn new(source_watermark: i64, derived_watermark: i64) -> Self
Creates an independent derived-progress observation.
Sourcepub const fn source_watermark(self) -> i64
pub const fn source_watermark(self) -> i64
Returns the exclusive primary-log source watermark observed by derivation.
Sourcepub const fn derived_watermark(self) -> i64
pub const fn derived_watermark(self) -> i64
Returns the exclusive watermark completed by the derived store.
Sourcepub const fn acknowledges_primary_append(self) -> bool
pub const fn acknowledges_primary_append(self) -> bool
Derived progress is never a primary append acknowledgement.
Sourcepub const fn satisfies_primary_durability(self) -> bool
pub const fn satisfies_primary_durability(self) -> bool
Derived progress is never a primary durability condition.
Trait Implementations§
Source§impl Clone for DerivedProgress
impl Clone for DerivedProgress
impl Copy for DerivedProgress
Source§impl Debug for DerivedProgress
impl Debug for DerivedProgress
Source§impl Default for DerivedProgress
impl Default for DerivedProgress
impl Eq for DerivedProgress
Source§impl PartialEq for DerivedProgress
impl PartialEq for DerivedProgress
impl StructuralPartialEq for DerivedProgress
Auto Trait Implementations§
impl Freeze for DerivedProgress
impl RefUnwindSafe for DerivedProgress
impl Send for DerivedProgress
impl Sync for DerivedProgress
impl Unpin for DerivedProgress
impl UnsafeUnpin for DerivedProgress
impl UnwindSafe for DerivedProgress
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