pub struct DetachResponse { /* private fields */ }Expand description
Server response bound to one explicit detach request.
Constructors exist only for the outcomes the frozen R-D1 register admits for detach; every other pairing is a compile error by construction.
Implementations§
Source§impl DetachResponse
impl DetachResponse
Sourcepub const fn connection_conversation_capacity_exceeded(
request: DetachEnvelope,
limit: u64,
) -> Self
pub const fn connection_conversation_capacity_exceeded( request: DetachEnvelope, limit: u64, ) -> Self
First decoded semantic operation for an untracked conversation exceeded the connection-conversation limit (register row 5641).
Sourcepub const fn participant_unknown(request: DetachEnvelope) -> Self
pub const fn participant_unknown(request: DetachEnvelope) -> Self
Presented participant is unknown (register row 5645).
Sourcepub const fn no_binding(request: DetachEnvelope) -> Self
pub const fn no_binding(request: DetachEnvelope) -> Self
New detach with no Pending cell found no current binding (register row 5646).
Detach-specific stale authority: live mismatch or a verified exact old token resolved to a terminalized detach cell (register rows 5647, 5671).
Sourcepub const fn retired(
request: DetachEnvelope,
retired_generation: Generation,
) -> Self
pub const fn retired( request: DetachEnvelope, retired_generation: Generation, ) -> Self
Presented id has a tombstone after Leave (register rows 5648, 5672).
Sourcepub const fn detach_committed(value: DetachCommitted) -> Self
pub const fn detach_committed(value: DetachCommitted) -> Self
Stable committed detach result (register row 5668).
Sourcepub const fn detach_in_progress(value: DetachInProgress) -> Self
pub const fn detach_in_progress(value: DetachInProgress) -> Self
A different detach token encountered an existing Pending cell (register row 5670).
Sourcepub const fn observer_backpressure(
request: DetachEnvelope,
committed_binding_epoch: BindingEpoch,
state: ObserverBackpressureState,
) -> Self
pub const fn observer_backpressure( request: DetachEnvelope, committed_binding_epoch: BindingEpoch, state: ObserverBackpressureState, ) -> Self
Detach append is blocked or an exact-token Pending replay returned its current cell epoch (register rows 5669, 5673).
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 DetachResponse
impl Clone for DetachResponse
Source§fn clone(&self) -> DetachResponse
fn clone(&self) -> DetachResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more