pub struct LocalSignatures(/* private fields */);Expand description
Signatures this process recomputed locally from its own proposals.
The runtime tier is not “the body carries a marker” — anyone can paste a marker. It is “the body carries a marker whose hex we just computed ourselves, from a proposal we hold in memory”. An empty set therefore grants nothing, which is the correct behaviour for a consumer that has not recomputed anything.
Implementations§
Source§impl LocalSignatures
impl LocalSignatures
Sourcepub fn from_proposals(proposals: &[DurableFixProposal]) -> Self
pub fn from_proposals(proposals: &[DurableFixProposal]) -> Self
Recompute every signature from proposals this process synthesized.
pub fn contains(&self, signature: &str) -> bool
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for LocalSignatures
impl Clone for LocalSignatures
Source§impl Debug for LocalSignatures
impl Debug for LocalSignatures
Auto Trait Implementations§
impl Freeze for LocalSignatures
impl RefUnwindSafe for LocalSignatures
impl Send for LocalSignatures
impl Sync for LocalSignatures
impl Unpin for LocalSignatures
impl UnsafeUnpin for LocalSignatures
impl UnwindSafe for LocalSignatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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