pub struct CredentialAttachResponse { /* private fields */ }Expand description
Server response bound to one credential-attach request.
Constructors exist only for the outcomes the frozen R-D1 register admits for credential attach; every other pairing is a compile error by construction.
Implementations§
Source§impl CredentialAttachResponse
impl CredentialAttachResponse
Sourcepub const fn attempt_token_body_conflict(
request: &AttachEnvelope,
conflict: AttemptConflict,
) -> Self
pub const fn attempt_token_body_conflict( request: &AttachEnvelope, conflict: AttemptConflict, ) -> Self
Verified exact live receipt with a changed canonical non-secret body; generation is tested before the marker sequence (register row 5639).
Sourcepub const fn connection_conversation_capacity_exceeded(
request: AttachEnvelope,
limit: u64,
) -> Self
pub const fn connection_conversation_capacity_exceeded( request: AttachEnvelope, limit: u64, ) -> Self
First decoded semantic operation for an untracked conversation exceeded the connection-conversation limit (register row 5641).
Sourcepub const fn connection_conversation_binding_occupied(
request: &AttachEnvelope,
) -> Self
pub const fn connection_conversation_binding_occupied( request: &AttachEnvelope, ) -> Self
Credential-attach binding attempt found an occupied slot owned by a different participant (register row 5643).
Sourcepub fn conversation_order_exhausted(
request: AttachEnvelope,
high: u64,
order_remaining: u128,
reserved_claims: u128,
resulting_order_remaining: u128,
resulting_reserved_claims: u128,
) -> Self
pub fn conversation_order_exhausted( request: AttachEnvelope, high: u64, order_remaining: u128, reserved_claims: u128, resulting_order_remaining: u128, resulting_reserved_claims: u128, ) -> Self
Credential attach required an unreserved transaction_order major and
the conversation order is exhausted (register row 5644).
Sourcepub const fn participant_unknown(request: AttachEnvelope) -> Self
pub const fn participant_unknown(request: AttachEnvelope) -> Self
Presented participant is unknown (register row 5645).
Live generation or secret authority is stale (register rows 5647, 5660, 5665).
Sourcepub const fn retired(
request: AttachEnvelope,
retired_generation: Generation,
) -> Self
pub const fn retired( request: AttachEnvelope, retired_generation: Generation, ) -> Self
Presented id or exact token resolved to a tombstone (register rows 5648, 5659, 5667).
Sourcepub fn marker_closure_capacity_exceeded(
request: AttachEnvelope,
snapshot: ClosureSnapshot,
reason: ClosureRefusalReason,
) -> Self
pub fn marker_closure_capacity_exceeded( request: AttachEnvelope, snapshot: ClosureSnapshot, reason: ClosureRefusalReason, ) -> Self
Closure-checked attach admission exceeded marker-closure capacity (register rows 5649, 5662).
Sourcepub const fn attach_bound(value: AttachBound) -> Self
pub const fn attach_bound(value: AttachBound) -> Self
Successful credential attach (register row 5658).
Sourcepub const fn receipt_expired(
request: &AttachEnvelope,
result_generation: Generation,
current_generation: Generation,
reason: ReceiptExpiryReason,
) -> Self
pub const fn receipt_expired( request: &AttachEnvelope, result_generation: Generation, current_generation: Generation, reason: ReceiptExpiryReason, ) -> Self
Exact credential-attach provenance window response; the flattened request-echo fields are derived from the request’s own envelope (register rows 5659, 5664).
Sourcepub const fn stale_or_unknown_receipt(value: StaleOrUnknownReceipt) -> Self
pub const fn stale_or_unknown_receipt(value: StaleOrUnknownReceipt) -> Self
Post-provenance ambiguity: the receipt is no longer known (register rows 5659, 5666).
Sourcepub const fn marker_not_delivered(
proof: AttachMarkerProof,
reason: MarkerNotDeliveredReason,
expected_marker_delivery_seq: DeliverySeq,
) -> Self
pub const fn marker_not_delivered( proof: AttachMarkerProof, reason: MarkerNotDeliveredReason, expected_marker_delivery_seq: DeliverySeq, ) -> Self
Fenced attach named a marker that was never delivered to the proof epoch (register row 5661).
Sourcepub const fn marker_mismatch(
proof: AttachMarkerProof,
mismatch: MarkerMismatchBody,
) -> Self
pub const fn marker_mismatch( proof: AttachMarkerProof, mismatch: MarkerMismatchBody, ) -> Self
Fenced attach named a marker that mismatches current marker state (register row 5661).
Sourcepub const fn receipt_capacity_exceeded(
request: AttachEnvelope,
scope: ReceiptCapacityScope,
limit: u64,
occupied: u64,
) -> Self
pub const fn receipt_capacity_exceeded( request: AttachEnvelope, scope: ReceiptCapacityScope, limit: u64, occupied: u64, ) -> Self
The first full scope in the exact five-scope receipt/provenance order (register row 5662).
Sourcepub const fn observer_backpressure(
request: AttachEnvelope,
state: ObserverBackpressureState,
) -> Self
pub const fn observer_backpressure( request: AttachEnvelope, state: ObserverBackpressureState, ) -> Self
Hard-observer retention refused the attach append (register row 5662).
Sourcepub const fn marker_settlement_backpressure(
request: &AttachEnvelope,
refused_epoch: SettlementEpoch,
) -> Self
pub const fn marker_settlement_backpressure( request: &AttachEnvelope, refused_epoch: SettlementEpoch, ) -> Self
A marker candidate is awaiting its drain (participant contract §0.16 condition 2, attach wrapper — amendment A5).
The attach wrapper validates conversation membership TWICE before the
seam (no slot for this participant refuses participant_unknown; the
credential lookup admits only AuthorizedFresh), which is what
entitles this row to carry the settlement epoch and to be paired with
the 0x0202 MarkerSettled wake. Answering this condition with
Self::observer_backpressure is OUTLAWED: it would promise an
ObserverProgressed that nothing sends.
The epoch comes from the envelope’s own conversation and the frontier’s head marker candidate, never from the request.
Sourcepub fn conversation_sequence_exhausted(
request: AttachEnvelope,
sequence_budget: SequenceBudget,
) -> Self
pub fn conversation_sequence_exhausted( request: AttachEnvelope, sequence_budget: SequenceBudget, ) -> Self
Canonical resulting sequence-reserve check failed (register row 5662).
Sourcepub const fn bound(value: AttachBound) -> Self
pub const fn bound(value: AttachBound) -> Self
Byte-identical receipt replay whose exact binding epoch still occupies its origin slot (register row 5663).
Sourcepub const fn unbound_receipt(value: AttachBound) -> Self
pub const fn unbound_receipt(value: AttachBound) -> Self
Byte-identical receipt replay whose origin slot is empty, replaced, or at a later epoch (register row 5663).
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 CredentialAttachResponse
impl Clone for CredentialAttachResponse
Source§fn clone(&self) -> CredentialAttachResponse
fn clone(&self) -> CredentialAttachResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more