pub struct NoopCeremonyTranscriptStore;Expand description
Context store used when a caller does not opt into transcript persistence.
Trait Implementations§
Source§impl CeremonyTranscriptStorePort for NoopCeremonyTranscriptStore
impl CeremonyTranscriptStorePort for NoopCeremonyTranscriptStore
Source§fn append<'life0, 'life1, 'async_trait>(
&'life0 self,
_instance_id: &'life1 CeremonyId,
_contribution: CeremonyStepContribution,
) -> Pin<Box<dyn Future<Output = Result<(), DomainError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn append<'life0, 'life1, 'async_trait>(
&'life0 self,
_instance_id: &'life1 CeremonyId,
_contribution: CeremonyStepContribution,
) -> Pin<Box<dyn Future<Output = Result<(), DomainError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Append a step’s
contribution to the transcript of instance_id.Source§fn transcript<'life0, 'life1, 'async_trait>(
&'life0 self,
_instance_id: &'life1 CeremonyId,
) -> Pin<Box<dyn Future<Output = Result<CeremonyTranscript, DomainError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn transcript<'life0, 'life1, 'async_trait>(
&'life0 self,
_instance_id: &'life1 CeremonyId,
) -> Pin<Box<dyn Future<Output = Result<CeremonyTranscript, DomainError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The transcript accumulated for
instance_id so far; an empty
transcript when the ceremony has produced nothing yet.Source§impl Clone for NoopCeremonyTranscriptStore
impl Clone for NoopCeremonyTranscriptStore
Source§fn clone(&self) -> NoopCeremonyTranscriptStore
fn clone(&self) -> NoopCeremonyTranscriptStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoopCeremonyTranscriptStore
Source§impl Debug for NoopCeremonyTranscriptStore
impl Debug for NoopCeremonyTranscriptStore
Source§impl Default for NoopCeremonyTranscriptStore
impl Default for NoopCeremonyTranscriptStore
Source§fn default() -> NoopCeremonyTranscriptStore
fn default() -> NoopCeremonyTranscriptStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopCeremonyTranscriptStore
impl RefUnwindSafe for NoopCeremonyTranscriptStore
impl Send for NoopCeremonyTranscriptStore
impl Sync for NoopCeremonyTranscriptStore
impl Unpin for NoopCeremonyTranscriptStore
impl UnsafeUnpin for NoopCeremonyTranscriptStore
impl UnwindSafe for NoopCeremonyTranscriptStore
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