pub struct CheckpointRestorePublication<R: DeviceRuntime> { /* private fields */ }Expand description
Non-cloneable outer publication owner. Dropping or rejecting it cancels the exact target before its state gate opens. It exposes no writable resources.
Implementations§
Source§impl<R: DeviceRuntime> CheckpointRestorePublication<R>
impl<R: DeviceRuntime> CheckpointRestorePublication<R>
pub fn completed_tokens(&self) -> usize
pub fn token_prefix(&self) -> &[u32]
pub fn target_epoch(&self) -> SequenceSessionEpoch
pub fn matches_target(&self, target: &Arc<SequenceSession<R>>) -> bool
pub fn acknowledge(self) -> Result<(), VNextError>
Auto Trait Implementations§
impl<R> !Freeze for CheckpointRestorePublication<R>
impl<R> !RefUnwindSafe for CheckpointRestorePublication<R>
impl<R> !UnwindSafe for CheckpointRestorePublication<R>
impl<R> Send for CheckpointRestorePublication<R>
impl<R> Sync for CheckpointRestorePublication<R>
impl<R> Unpin for CheckpointRestorePublication<R>
impl<R> UnsafeUnpin for CheckpointRestorePublication<R>
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