pub struct TopologyRestoreInput { /* private fields */ }Expand description
A live read of the exact prepared operation, cut and local ownership. Only the configured controller/authority can construct this input. It permits private restore preparation, never graph installation, source start, output or intake release. A retained input can become stale; installation must revalidate authority and require a target Commit/Release.
Implementations§
Source§impl TopologyRestoreInput
impl TopologyRestoreInput
Sourcepub fn processes(&self) -> &[LocalProcessAuthorityIdentity]
pub fn processes(&self) -> &[LocalProcessAuthorityIdentity]
Exact current owner/evidence roster revalidated for committed reconstruction.
Sourcepub fn current_leader(&self) -> Option<LeaderProof>
pub fn current_leader(&self) -> Option<LeaderProof>
Current committed reconstruction leader, absent for pre-Commit private preparation.
Sourcepub fn same_restore_requirements(&self, other: &Self) -> bool
pub fn same_restore_requirements(&self, other: &Self) -> bool
Compare all restore requirements, allowing only monotonic receipt/status progress. Both inputs must come from current controller authorization; this comparison never replaces a fresh read or the authority’s receipt, leader, process and assignment audits.
Sourcepub fn same_installed_generation(&self, other: &Self) -> bool
pub fn same_installed_generation(&self, other: &Self) -> bool
Immutable installed generation, excluding the current leader read. A leader change after Commit never changes the restored state; current installation/Release must be audited anew.
Sourcepub fn is_committed_successor_of(&self, prepared: &Self) -> bool
pub fn is_committed_successor_of(&self, prepared: &Self) -> bool
Whether a fresh committed authorization retains the prepared image’s exact historical requirements and local process. This compares images only, never grants output or Release.
Sourcepub const fn assignment(&self) -> &CheckpointAssignmentFence
pub const fn assignment(&self) -> &CheckpointAssignmentFence
Exact current assignment authorizing this private reconstruction. Historical state and
source attempts retain plan().assignment; recovery may replace boots with the same owners.
Sourcepub const fn is_committed(&self) -> bool
pub const fn is_committed(&self) -> bool
Whether this is explicit committed-root reconstruction, still without installation/Release.
Sourcepub const fn operation(&self) -> &TopologyAdmissionStatus
pub const fn operation(&self) -> &TopologyAdmissionStatus
Exact prepared or committed operation, including its root authority anchor.
Sourcepub const fn plan(&self) -> &TopologyAdmissionPlan
pub const fn plan(&self) -> &TopologyAdmissionPlan
Immutable admitted plan and assignment.
Sourcepub const fn parent(&self) -> &CatalogManifest
pub const fn parent(&self) -> &CatalogManifest
Complete exact predecessor inventory. Removals cannot be inferred from a target prefix.
Sourcepub const fn target(&self) -> &CatalogManifest
pub const fn target(&self) -> &CatalogManifest
Complete sealed target inventory, committed only when this authorization records Commit.
Sourcepub const fn descriptor(&self) -> &ClusterTopologyValidation
pub const fn descriptor(&self) -> &ClusterTopologyValidation
Independently certified parent/target and per-object contracts.
Sourcepub const fn root(&self) -> &TopologyMigrationRoot
pub const fn root(&self) -> &TopologyMigrationRoot
Immutable requirements, including sealed source positions and subscription mappings.
Sourcepub const fn outcome(&self) -> &CheckpointOutcome
pub const fn outcome(&self) -> &CheckpointOutcome
Definitive old-topology checkpoint Commit; never a target Commit.
Sourcepub const fn checkpoint(&self) -> &CommittedCheckpointIndex
pub const fn checkpoint(&self) -> &CommittedCheckpointIndex
Exact historical index, retaining the parent pipeline identity.
Sourcepub fn owned_vnodes(&self) -> &[u32]
pub fn owned_vnodes(&self) -> &[u32]
Canonical local vnode roster from the unchanged current assignment.
Sourcepub const fn process(&self) -> LocalProcessAuthorityIdentity
pub const fn process(&self) -> LocalProcessAuthorityIdentity
Exact process incarnation and term for this preparation.
Trait Implementations§
Source§impl Clone for TopologyRestoreInput
impl Clone for TopologyRestoreInput
Source§impl Debug for TopologyRestoreInput
impl Debug for TopologyRestoreInput
impl Eq for TopologyRestoreInput
Source§impl PartialEq for TopologyRestoreInput
impl PartialEq for TopologyRestoreInput
impl StructuralPartialEq for TopologyRestoreInput
Auto Trait Implementations§
impl Freeze for TopologyRestoreInput
impl RefUnwindSafe for TopologyRestoreInput
impl Send for TopologyRestoreInput
impl Sync for TopologyRestoreInput
impl Unpin for TopologyRestoreInput
impl UnsafeUnpin for TopologyRestoreInput
impl UnwindSafe for TopologyRestoreInput
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].