pub struct ObserverRecoveryResponse { /* private fields */ }Expand description
Server response bound to one observer-recovery handshake batch.
The register admits exactly four outcomes for the one-shot recovery batch
(rows 5642, 5688, 5689); the contract’s routing rule (lines 5780-5782)
marks all four as already request-specific, so they carry no
originating_request echo. Every other pairing is a compile error by
construction.
Implementations§
Source§impl ObserverRecoveryResponse
impl ObserverRecoveryResponse
Sourcepub const fn connection_capacity_exceeded(
conversation_id: ConversationId,
limit: u64,
) -> Self
pub const fn connection_capacity_exceeded( conversation_id: ConversationId, limit: u64, ) -> Self
Batch preflight found an untracked conversation that would exceed the
signed connection-conversation limit (register row 5642, wire
0x0124).
Sourcepub const fn accepted(value: ObserverRecoveryAccepted) -> Self
pub const fn accepted(value: ObserverRecoveryAccepted) -> Self
Whole-batch success with request-ordered statuses (register row 5688).
Sourcepub const fn invalid_observer_epoch(value: InvalidObserverEpoch) -> Self
pub const fn invalid_observer_epoch(value: InvalidObserverEpoch) -> Self
Whole-batch unknown-conversation or ahead-epoch refusal (register row 5689).
Sourcepub const fn invalid_observer_epoch_list(
value: InvalidObserverEpochList,
) -> Self
pub const fn invalid_observer_epoch_list( value: InvalidObserverEpochList, ) -> Self
Whole-batch list-shape refusal (register row 5689).
Sourcepub const fn server_value(&self) -> &ServerValue
pub const fn server_value(&self) -> &ServerValue
Borrows the bound wire value for encoding or inspection.
Sourcepub const fn discriminant(&self) -> ServerDiscriminant
pub const fn discriminant(&self) -> ServerDiscriminant
Returns the bound value’s exact wire discriminant.
Sourcepub fn into_server_value(self) -> ServerValue
pub fn into_server_value(self) -> ServerValue
Moves the bound wire value out for transmission.
Trait Implementations§
Source§impl Clone for ObserverRecoveryResponse
impl Clone for ObserverRecoveryResponse
Source§fn clone(&self) -> ObserverRecoveryResponse
fn clone(&self) -> ObserverRecoveryResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more