Skip to main content

ClientParticipantAggregate

Struct ClientParticipantAggregate 

Source
pub struct ClientParticipantAggregate { /* private fields */ }
Expand description

Non-cloneable client participant state shell.

Its expected operation, credential-bearing binding, replay request, and reconnect state are private so callers must delegate every decision. This brief-required root ownership prevents callers from recombining independently persisted authorities into a state the crate never validated.

Implementations§

Source§

impl ClientParticipantAggregate

Source

pub fn resume_record( &self, ) -> Result<ClientResumeRecord, ClientResumeRecordEncodeError>

Captures every durable client fact in an inert resume record.

§Errors

Returns a typed nested-codec or length error if a live typed value cannot be represented canonically.

Source§

impl ClientParticipantAggregate

Source

pub const fn new() -> Self

Creates a fresh unbound client aggregate.

Source

pub const fn binding_status(&self) -> ClientBindingStatus

Reports binding status without exposing credential-bearing state.

Source

pub const fn has_expected_operation(&self) -> bool

Reports whether one write-ahead operation is outstanding.

Source

pub const fn detach_replay(&self) -> &SdkDetachReplayAggregate

Borrows the detach replay aggregate for status inspection.

Source

pub const fn reconnect(&self) -> &ReconnectAggregate

Borrows the reconnect aggregate for status inspection.

Source

pub const fn take_restored_operation_abandonment( &mut self, ) -> Option<RestoredExpectedOperationAbandonment>

Takes the typed tokenless-operation resolution produced by cold restore.

The expected slot is already empty when this value exists; taking the event cannot mint or release executable authority. The abandonment is durable until taken: encode-without-take retains it, and a second take observes nothing (LP-CLIENT-GOAL piece 4, r2, 2026-07-18).

Source

pub const fn restored_operation_abandonment( &self, ) -> Option<&RestoredExpectedOperationAbandonment>

Borrows the pending tokenless abandonment without consuming it.

Source

pub const fn lost_operation_testimony(&self) -> Option<&LostAuthorityTestimony>

Borrows the pending operation-domain lost-authority testimony, if any.

While this testimony is pending, every correlation-consuming operation path refuses with a typed lost-authority reason; only resolve_lost_operation_authority consumes it.

Source

pub const fn lost_reconnect_testimony(&self) -> Option<&LostAuthorityTestimony>

Borrows the pending reconnect-domain lost-authority testimony, if any.

While this testimony is pending, permit redemption and attempt fates refuse with a typed lost-authority reason; only resolve_lost_reconnect_authority consumes it.

Trait Implementations§

Source§

impl Debug for ClientParticipantAggregate

Source§

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

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

impl Default for ClientParticipantAggregate

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for ClientParticipantAggregate

Source§

impl PartialEq for ClientParticipantAggregate

Source§

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

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

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ClientParticipantAggregate

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<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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, 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.