pub struct TopologyRecoveryInput { /* private fields */ }Expand description
An audited choice of recovery cut, bound to the current target and local process adoption. Construction belongs to the shared authority. This grants private state reads only; actor installation and intake require a fresh coordinated recovery round and its complete quorum.
Implementations§
Source§impl TopologyRecoveryInput
impl TopologyRecoveryInput
Sourcepub const fn migration(&self) -> &TopologyRestoreInput
pub const fn migration(&self) -> &TopologyRestoreInput
The current target, retained mapping and exact current owner/process roster.
Sourcepub const fn cut(&self) -> TopologyRecoveryCut
pub const fn cut(&self) -> TopologyRecoveryCut
Selected state provenance. A target checkpoint never uses the parent state mapping.
Sourcepub fn outcome(&self) -> &CheckpointOutcome
pub fn outcome(&self) -> &CheckpointOutcome
Definitive Commit of the selected cut, retaining its original checkpoint identity.
Sourcepub fn checkpoint(&self) -> &CommittedCheckpointIndex
pub fn checkpoint(&self) -> &CommittedCheckpointIndex
Exact selected index. Root indexes retain the parent pipeline identity; later indexes must have the target pipeline identity. Neither is relabelled during reconstruction.
Sourcepub fn same_restore_requirements(&self, other: &Self) -> bool
pub fn same_restore_requirements(&self, other: &Self) -> bool
Compare two fresh authorizations, including the chosen cut and all local restore fences. The caller must still recheck the current recovery round before actor installation.
Trait Implementations§
Source§impl Clone for TopologyRecoveryInput
impl Clone for TopologyRecoveryInput
Source§impl Debug for TopologyRecoveryInput
impl Debug for TopologyRecoveryInput
impl Eq for TopologyRecoveryInput
Source§impl PartialEq for TopologyRecoveryInput
impl PartialEq for TopologyRecoveryInput
impl StructuralPartialEq for TopologyRecoveryInput
Auto Trait Implementations§
impl Freeze for TopologyRecoveryInput
impl RefUnwindSafe for TopologyRecoveryInput
impl Send for TopologyRecoveryInput
impl Sync for TopologyRecoveryInput
impl Unpin for TopologyRecoveryInput
impl UnsafeUnpin for TopologyRecoveryInput
impl UnwindSafe for TopologyRecoveryInput
Blanket Implementations§
impl<T> Allocation for T
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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].