pub struct CursorProgressContinuous { /* private fields */ }Expand description
Continuous cursor-progress witness with no delivered marker.
This witness deliberately has no public constructor. A caller outside this
crate cannot turn raw participant/epoch values into executable binding-fate
authority; recovered-epoch fate must instead originate from
FencedAttachCommit::recovered_binding_fate.
ⓘ
use liminal_protocol::{
lifecycle::CursorProgressContinuous,
wire::BindingEpoch,
};
fn fabricate(epoch: BindingEpoch) {
let _ = CursorProgressContinuous::new(7, epoch, 11);
}Implementations§
Source§impl CursorProgressContinuous
impl CursorProgressContinuous
Sourcepub const fn participant_id(self) -> ParticipantId
pub const fn participant_id(self) -> ParticipantId
Returns the participant whose cursor is required.
Sourcepub const fn binding_epoch(self) -> BindingEpoch
pub const fn binding_epoch(self) -> BindingEpoch
Returns the exact binding epoch.
Sourcepub const fn through_seq(self) -> DeliverySeq
pub const fn through_seq(self) -> DeliverySeq
Returns the required cumulative boundary.
Trait Implementations§
Source§impl Clone for CursorProgressContinuous
impl Clone for CursorProgressContinuous
Source§fn clone(&self) -> CursorProgressContinuous
fn clone(&self) -> CursorProgressContinuous
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 CursorProgressContinuous
Source§impl Debug for CursorProgressContinuous
impl Debug for CursorProgressContinuous
impl Eq for CursorProgressContinuous
Source§impl PartialEq for CursorProgressContinuous
impl PartialEq for CursorProgressContinuous
impl StructuralPartialEq for CursorProgressContinuous
Auto Trait Implementations§
impl Freeze for CursorProgressContinuous
impl RefUnwindSafe for CursorProgressContinuous
impl Send for CursorProgressContinuous
impl Sync for CursorProgressContinuous
impl Unpin for CursorProgressContinuous
impl UnsafeUnpin for CursorProgressContinuous
impl UnwindSafe for CursorProgressContinuous
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