Trait EventActionExt

Source
pub trait EventActionExt: ActionType {
    // Required methods
    fn terminate() -> Self;
    fn timeout() -> Self;
}
Expand description

Extension trait for action types in event-driven workflows

Required Methods§

Source

fn terminate() -> Self

Create a terminate action for event-driven workflows

Source

fn timeout() -> Self

Create a timeout action for timed operations

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl EventActionExt for DefaultAction

Source§

fn terminate() -> Self

Source§

fn timeout() -> Self

Implementors§