pub struct TopologyActivation {
pub leader: LeaderProof,
pub recovery_round: Option<RecoveryRoundId>,
pub assignment: CheckpointAssignmentFence,
pub processes: Vec<LocalProcessAuthorityIdentity>,
pub authority_sequence: u64,
pub installations: Vec<TopologyInstallationReceipt>,
pub release: Option<TopologyRelease>,
}Expand description
A single current installation round. A replacement leader may supersede an unreleased round; it must collect every runtime again. A published Release is immutable.
Fields§
§leader: LeaderProofCurrent leader that owns this installation round.
recovery_round: Option<RecoveryRoundId>Existing recovery round that owns a replacement held installation before first Release. Original released rounds remain immutable; later recoveries use their own recovery terminal.
assignment: CheckpointAssignmentFenceExact assignment, retaining the committed plan’s owner map and stable participant IDs.
processes: Vec<LocalProcessAuthorityIdentity>Complete sorted current owner/evidence process roster.
Round identity and immutable first installation append.
installations: Vec<TopologyInstallationReceipt>Monotonic sorted receipts from this round, never an arbitrary quorum.
release: Option<TopologyRelease>Irreversible Release, absent until the complete roster has been revalidated.
Implementations§
Source§impl TopologyActivation
impl TopologyActivation
Sourcepub fn installation_complete(&self) -> bool
pub fn installation_complete(&self) -> bool
Exact participant coverage; a current-authority audit is additionally required for Release.
Trait Implementations§
Source§impl Clone for TopologyActivation
impl Clone for TopologyActivation
Source§impl Debug for TopologyActivation
impl Debug for TopologyActivation
Source§impl<'de> Deserialize<'de> for TopologyActivation
impl<'de> Deserialize<'de> for TopologyActivation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for TopologyActivation
Source§impl PartialEq for TopologyActivation
impl PartialEq for TopologyActivation
Source§impl Serialize for TopologyActivation
impl Serialize for TopologyActivation
impl StructuralPartialEq for TopologyActivation
Auto Trait Implementations§
impl Freeze for TopologyActivation
impl RefUnwindSafe for TopologyActivation
impl Send for TopologyActivation
impl Sync for TopologyActivation
impl Unpin for TopologyActivation
impl UnsafeUnpin for TopologyActivation
impl UnwindSafe for TopologyActivation
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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].