Struct fmodel_rust::saga_manager::SagaManager
source · pub struct SagaManager<A, AR, Publisher, Saga, Error>where
Publisher: ActionPublisher<A, Error>,
Saga: ActionComputation<AR, A>,{ /* private fields */ }Expand description
Saga Manager.
It is using a [Saga] to react to the action result and to publish the new actions. It is using an ActionPublisher to publish the new actions.
Generic parameters:
A- Action / CommandAR- Action Result / EventPublisher- Action PublisherError- Error
Implementations§
source§impl<A, AR, Publisher, Saga, Error> SagaManager<A, AR, Publisher, Saga, Error>where
Publisher: ActionPublisher<A, Error>,
Saga: ActionComputation<AR, A>,
impl<A, AR, Publisher, Saga, Error> SagaManager<A, AR, Publisher, Saga, Error>where
Publisher: ActionPublisher<A, Error>,
Saga: ActionComputation<AR, A>,
Auto Trait Implementations§
impl<A, AR, Publisher, Saga, Error> RefUnwindSafe for SagaManager<A, AR, Publisher, Saga, Error>where
A: RefUnwindSafe,
AR: RefUnwindSafe,
Error: RefUnwindSafe,
Publisher: RefUnwindSafe,
Saga: RefUnwindSafe,
impl<A, AR, Publisher, Saga, Error> Send for SagaManager<A, AR, Publisher, Saga, Error>
impl<A, AR, Publisher, Saga, Error> Sync for SagaManager<A, AR, Publisher, Saga, Error>
impl<A, AR, Publisher, Saga, Error> Unpin for SagaManager<A, AR, Publisher, Saga, Error>
impl<A, AR, Publisher, Saga, Error> UnwindSafe for SagaManager<A, AR, Publisher, Saga, Error>
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