pub struct VnodeAssignmentReadGuard<'a>(/* private fields */);Expand description
Read guard that pins one assignment publication while a source captures a data batch or checkpoint cursor.
Methods from Deref<Target = VnodeAssignmentSnapshot>§
Sourcepub fn owner_changed_version(&self, vnode: u32) -> Option<u64>
pub fn owner_changed_version(&self, vnode: u32) -> Option<u64>
Version of the last ownership change for vnode.
Sourcepub fn has_committed_handoff(&self) -> bool
pub fn has_committed_handoff(&self) -> bool
Whether this publication carries a durable decided checkpoint cut.
Sourcepub fn source_handoff(&self, source: &str) -> Option<&SourceHandoffState>
pub fn source_handoff(&self, source: &str) -> Option<&SourceHandoffState>
Validated committed state for one source, without cloning its checkpoint maps.
Sourcepub fn committed_source_handoff(&self) -> Option<&CommittedSourceHandoff>
pub fn committed_source_handoff(&self) -> Option<&CommittedSourceHandoff>
Complete committed source cut carried by this publication, if present.
Sourcepub fn source_handoff_installed_version(&self) -> Option<u64>
pub fn source_handoff_installed_version(&self) -> Option<u64>
Assignment version that installed the current handoff. Carry-only publications preserve the earlier version so runtimes do not restore the same recovery cut for an unrelated roster update.
Sourcepub fn source_handoff_attempt(&self) -> Option<CheckpointAttempt>
pub fn source_handoff_attempt(&self) -> Option<CheckpointAttempt>
Exact checkpoint attempt supplying the committed handoff, if present.
Sourcepub fn source_handoff_assignment_version(&self) -> Option<u64>
pub fn source_handoff_assignment_version(&self) -> Option<u64>
Assignment version sealed by the committed handoff, if present.
Sourcepub fn source_handoff_cluster_watermark(&self) -> Option<CheckpointWatermark>
pub fn source_handoff_cluster_watermark(&self) -> Option<CheckpointWatermark>
Explicit cluster event-time status at the committed cut, if present.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for VnodeAssignmentReadGuard<'a>
impl<'a> !Send for VnodeAssignmentReadGuard<'a>
impl<'a> !UnwindSafe for VnodeAssignmentReadGuard<'a>
impl<'a> Freeze for VnodeAssignmentReadGuard<'a>
impl<'a> Sync for VnodeAssignmentReadGuard<'a>
impl<'a> Unpin for VnodeAssignmentReadGuard<'a>
impl<'a> UnsafeUnpin for VnodeAssignmentReadGuard<'a>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].