pub struct ExclusiveGatewayActivity { /* private fields */ }Expand description
Exclusive Gateway Activity
Implements Activity trait for ExclusiveGateway elements. Evaluates conditions on outgoing flows and selects one path.
Implementations§
Source§impl ExclusiveGatewayActivity
impl ExclusiveGatewayActivity
pub fn new(gateway: ExclusiveGateway) -> Self
Trait Implementations§
Source§impl Activity for ExclusiveGatewayActivity
impl Activity for ExclusiveGatewayActivity
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 mut ExecutionContext,
) -> Pin<Box<dyn Future<Output = Result<ActivityResult, ActivityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 mut ExecutionContext,
) -> Pin<Box<dyn Future<Output = Result<ActivityResult, ActivityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the activity Read more
Auto Trait Implementations§
impl Freeze for ExclusiveGatewayActivity
impl RefUnwindSafe for ExclusiveGatewayActivity
impl Send for ExclusiveGatewayActivity
impl Sync for ExclusiveGatewayActivity
impl Unpin for ExclusiveGatewayActivity
impl UnsafeUnpin for ExclusiveGatewayActivity
impl UnwindSafe for ExclusiveGatewayActivity
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