Trait Node

Source
pub trait Node<Input, Output, Error> {
    // Required method
    async fn run_with_storage<'input>(
        &mut self,
        input: Input,
        storage: &mut Storage,
    ) -> Result<Output, Error>
       where Input: 'input;
}

Required Methods§

Source

async fn run_with_storage<'input>( &mut self, input: Input, storage: &mut Storage, ) -> Result<Output, Error>
where Input: 'input,

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.

Implementors§

Source§

impl<Input, Output, Error> Node<Input, NodeOutput<Output>, Error> for OneOfSequentialFlow<Input, Output, Error>
where Input: Clone + Send,

Source§

impl<Input, Output, Error> Node<Input, NodeOutput<Output>, Error> for SequentialFlow<Input, Output, Error>
where Input: Send + 'static, Output: Send, Error: Send,