pub struct SsaRetirementScope<S: PixSpec> {
reconstructor: Weak<SsaReconstructor<S>>,
pseudonym: S::Pseudonym,
retirement: Arc<Mutex<RetirementFrontier>>,
}Expand description
Owns one Session’s retirement-frontier registration in an SsaReconstructor.
The Session action driver holds this for its whole lifetime. Dropping it removes the pseudonym
from the reconstructor immediately; commitment guards and in-flight workers retain their own
Arc to the frontier until the publication/retirement race has settled.
Fields§
§reconstructor: Weak<SsaReconstructor<S>>§pseudonym: S::Pseudonym§retirement: Arc<Mutex<RetirementFrontier>>Trait Implementations§
Source§impl<S: PixSpec> Drop for SsaRetirementScope<S>
impl<S: PixSpec> Drop for SsaRetirementScope<S>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for SsaRetirementScope<S>
impl<S> !UnwindSafe for SsaRetirementScope<S>
impl<S> Freeze for SsaRetirementScope<S>
impl<S> Send for SsaRetirementScope<S>
impl<S> Sync for SsaRetirementScope<S>
impl<S> Unpin for SsaRetirementScope<S>
impl<S> UnsafeUnpin for SsaRetirementScope<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more