Skip to main content

WorkflowData

Trait WorkflowData 

Source
pub trait WorkflowData:
    Serialize
    + DeserializeOwned
    + Send
    + Sync
    + Clone
    + 'static { }
Expand description

Marker trait for all data types that flow between workflow steps. Anything that is serializable and deserializable qualifies.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> WorkflowData for T
where T: Serialize + DeserializeOwned + Send + Sync + Clone + 'static,

Blanket implementation: any type satisfying the bounds is WorkflowData.