Skip to main content

AsWorkflow

Trait AsWorkflow 

pub trait AsWorkflow<I, O> {
    // Required method
    fn name(&self) -> &str;

    // Provided method
    fn version(&self) -> Option<u32> { ... }
}
Expand description

Anything that names a workflow type with input I and result O: a WorkflowRef or a string.

Required Methods§

fn name(&self) -> &str

Provided Methods§

fn version(&self) -> Option<u32>

Implementations on Foreign Types§

§

impl<I, O> AsWorkflow<I, O> for &str

§

fn name(&self) -> &str

§

impl<I, O> AsWorkflow<I, O> for &String

§

fn name(&self) -> &str

§

impl<I, O> AsWorkflow<I, O> for &Arc<WorkflowRef<I, O>>

§

fn name(&self) -> &str

§

fn version(&self) -> Option<u32>

§

impl<I, O> AsWorkflow<I, O> for String

§

fn name(&self) -> &str

Implementors§

§

impl<I, O> AsWorkflow<I, O> for &WorkflowRef<I, O>

§

impl<I, O> AsWorkflow<I, O> for WorkflowRef<I, O>