struct RegisteredCommitment<S: PixSpec> {
builder: Mutex<SsaCommitmentBuilder<S>>,
retirement: Arc<Mutex<RetirementFrontier>>,
}Expand description
A commitment registration paired with the Session retirement state that governs it.
Fields§
§builder: Mutex<SsaCommitmentBuilder<S>>§retirement: Arc<Mutex<RetirementFrontier>>Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for RegisteredCommitment<S>
impl<S> !RefUnwindSafe for RegisteredCommitment<S>
impl<S> !UnwindSafe for RegisteredCommitment<S>
impl<S> Send for RegisteredCommitment<S>
impl<S> Sync for RegisteredCommitment<S>
impl<S> Unpin for RegisteredCommitment<S>where
<<S as PixSpec>::Curve as CurveArithmetic>::Scalar: Unpin,
<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint: Unpin,
<S as PixSpec>::Pseudonym: Unpin,
<<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint as GroupEncoding>::Repr: Unpin,
<S as PixSpec>::DepositAddress: Unpin,
<<<S as PixSpec>::Curve as Curve>::FieldBytesSize as ArraySize>::ArrayType<u8>: Unpin,
impl<S> UnsafeUnpin for RegisteredCommitment<S>where
<<S as PixSpec>::Curve as CurveArithmetic>::Scalar: UnsafeUnpin,
<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint: UnsafeUnpin,
<S as PixSpec>::Pseudonym: UnsafeUnpin,
<<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint as GroupEncoding>::Repr: UnsafeUnpin,
<S as PixSpec>::DepositAddress: UnsafeUnpin,
<<<S as PixSpec>::Curve as Curve>::FieldBytesSize as ArraySize>::ArrayType<u8>: UnsafeUnpin,
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