Skip to main content

DetachLookupContext

Struct DetachLookupContext 

Source
pub struct DetachLookupContext<'a, EF, V, LF, D> {
    pub token_resolution: DetachTokenResolution<'a, EF, V, LF>,
    pub presented_identity: PresentedIdentity<'a, EF, V, LF>,
    pub cell: &'a DetachCell<D>,
    pub binding: &'a BindingState,
    pub receiving_binding_epoch: Option<BindingEpoch>,
    pub request: &'a DetachRequest,
    pub request_verifier: D,
    pub observer_progress: DeliverySeq,
}
Expand description

Complete serialized context for exhaustive detach reference lookup.

Grouping these values prevents a caller from accidentally omitting the exact receiving binding epoch while still keeping token-resolved and presented-key identities distinct.

Fields§

§token_resolution: DetachTokenResolution<'a, EF, V, LF>

Exact-token index result selected before presented-key lookup.

§presented_identity: PresentedIdentity<'a, EF, V, LF>

Identity found under the request’s presented participant key.

§cell: &'a DetachCell<D>

Current four-variant identity-slot detach cell.

§binding: &'a BindingState

Current binding or pending-finalization state.

§receiving_binding_epoch: Option<BindingEpoch>

Binding epoch carried by the receiving connection’s serialized context.

§request: &'a DetachRequest

Exact decoded detach request.

§request_verifier: D

Canonical non-secret verifier computed by the consuming server.

§observer_progress: DeliverySeq

Observer progress used only to prepare exact pending replay.

Auto Trait Implementations§

§

impl<'a, EF, V, LF, D> Freeze for DetachLookupContext<'a, EF, V, LF, D>
where D: Freeze,

§

impl<'a, EF, V, LF, D> RefUnwindSafe for DetachLookupContext<'a, EF, V, LF, D>

§

impl<'a, EF, V, LF, D> Send for DetachLookupContext<'a, EF, V, LF, D>
where D: Send + Sync, V: Sync, EF: Sync, LF: Sync,

§

impl<'a, EF, V, LF, D> Sync for DetachLookupContext<'a, EF, V, LF, D>
where D: Sync, V: Sync, EF: Sync, LF: Sync,

§

impl<'a, EF, V, LF, D> Unpin for DetachLookupContext<'a, EF, V, LF, D>
where D: Unpin,

§

impl<'a, EF, V, LF, D> UnsafeUnpin for DetachLookupContext<'a, EF, V, LF, D>
where D: UnsafeUnpin,

§

impl<'a, EF, V, LF, D> UnwindSafe for DetachLookupContext<'a, EF, V, LF, D>

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.