Skip to main content

OperatorCredentialReissueRefusal

Enum OperatorCredentialReissueRefusal 

Source
pub enum OperatorCredentialReissueRefusal {
    ConversationUnknown {
        conversation_id: ConversationId,
    },
    ParticipantUnknown {
        conversation_id: ConversationId,
        participant_id: ParticipantId,
    },
    Retired {
        conversation_id: ConversationId,
        participant_id: ParticipantId,
        retired_generation: u64,
    },
    LiveBinding {
        conversation_id: ConversationId,
        participant_id: ParticipantId,
        current_generation: u64,
        binding_state: &'static str,
    },
    DetachReplayOpen {
        conversation_id: ConversationId,
        participant_id: ParticipantId,
        current_generation: u64,
    },
    LiveReceipt {
        conversation_id: ConversationId,
        participant_id: ParticipantId,
        current_generation: u64,
        receipt: &'static str,
    },
    GenerationMismatch {
        conversation_id: ConversationId,
        participant_id: ParticipantId,
        presented_generation: u64,
        current_generation: u64,
    },
}
Expand description

Every typed refusal OperatorCredentialReissue can answer (§0.18 item 2).

Each variant commits no receipt, order, cursor, binding, lifecycle record, or retention mutation, and each is a NAMED refusal rather than whatever the code happens to do.

Variants§

§

ConversationUnknown

Pre-guard lookup miss: no durable conversation resolves this id.

Fields

§conversation_id: ConversationId

The presented conversation id, and nothing beyond it.

§

ParticipantUnknown

Pre-guard lookup miss: the conversation exists, the identity does not.

Fields

§conversation_id: ConversationId

The presented conversation id.

§participant_id: ParticipantId

The presented participant id, and nothing beyond it.

§

Retired

Guard (a): a tombstoned identity. Re-issue never remints a retired one.

Fields

§conversation_id: ConversationId

The presented conversation id.

§participant_id: ParticipantId

The retired identity.

§retired_generation: u64

Generation the identity held when it was retired.

§

LiveBinding

Guard (b): a live binding. A bound member is demonstrably operating under working authority, and re-issue against it would be seat revocation — v1 has no operator Leave and A7 does not create one.

Fields

§conversation_id: ConversationId

The presented conversation id.

§participant_id: ParticipantId

The bound identity.

§current_generation: u64

Current credential generation.

§binding_state: &'static str

Which live binding state refused: bound or pending_finalization.

§

DetachReplayOpen

⚠ NOT one of §0.18’s four guards — a defect this build MEASURED, named rather than absorbed, and returned to the seat as a contract flag.

The identity’s last committed detach still holds its exact-replay cell open. commit_attach requires that cell’s request generation to equal the member’s current generation (lifecycle::attach.rs, transition_detach_cell’s DetachCell::Committed arm), and a re-issue moves the generation while the cell stays where it is. So a re-issue against this shape would mint a lawful-looking credential that the ORDINARY attach path of §0.18 item 5 then refuses with a bare AttachCommitError::DetachCellAuthority invariant — an unattachable credential, which is the silent trap this estate refuses to ship.

Refusing is the only answer available inside this lane’s authority: terminalizing the cell here would change what an exact detach-token replay is answered with, which is existing refusal/restoration semantics and not this lane’s to move.

Fields

§conversation_id: ConversationId

The presented conversation id.

§participant_id: ParticipantId

The identity holding the open replay cell.

§current_generation: u64

Current credential generation.

§

LiveReceipt

Guard (c): a live attach or enrollment receipt. A live receipt means the R-C0 recovery window is still open and the ordinary recovery path must be exhausted first.

Fields

§conversation_id: ConversationId

The presented conversation id.

§participant_id: ParticipantId

The identity holding the live receipt.

§current_generation: u64

Current credential generation.

§receipt: &'static str

Which receipt is still live: attach or enrollment.

§

GenerationMismatch

Guard (d): the compare-and-set failed.

⛔ This payload is NORMATIVE (§0.18 item 4). The presented/current pair is the ONLY way an operator who lost a re-issue response learns the post-rotation generation, so a future edit that minimizes it silently breaks lost-response recovery.

Fields

§conversation_id: ConversationId

The presented conversation id.

§participant_id: ParticipantId

The identity.

§presented_generation: u64

Generation the operator presented.

§current_generation: u64

Generation the identity actually holds.

Trait Implementations§

Source§

impl Clone for OperatorCredentialReissueRefusal

Source§

fn clone(&self) -> OperatorCredentialReissueRefusal

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OperatorCredentialReissueRefusal

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for OperatorCredentialReissueRefusal

Source§

impl PartialEq for OperatorCredentialReissueRefusal

Source§

fn eq(&self, other: &OperatorCredentialReissueRefusal) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for OperatorCredentialReissueRefusal

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for OperatorCredentialReissueRefusal

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more