pub struct ExecuteCeremonyOperationUseCase { /* private fields */ }Expand description
Persist intent, execute or recover once, then persist an immutable receipt.
Implementations§
Source§impl ExecuteCeremonyOperationUseCase
impl ExecuteCeremonyOperationUseCase
pub fn new( store: Arc<dyn ExecutionReceiptStorePort>, connector: Arc<dyn CeremonyExecutionConnectorPort>, clock: Arc<dyn ClockPort>, ) -> Self
pub fn with_artifacts(self, artifacts: Arc<ArtifactService>) -> Self
pub async fn execute( &self, input: ExecuteCeremonyOperationInput, ) -> Result<ExecuteCeremonyOperationOutcome, DomainError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ExecuteCeremonyOperationUseCase
impl !UnwindSafe for ExecuteCeremonyOperationUseCase
impl Freeze for ExecuteCeremonyOperationUseCase
impl Send for ExecuteCeremonyOperationUseCase
impl Sync for ExecuteCeremonyOperationUseCase
impl Unpin for ExecuteCeremonyOperationUseCase
impl UnsafeUnpin for ExecuteCeremonyOperationUseCase
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