AsyncRuleFlow

Trait AsyncRuleFlow 

Source
pub trait AsyncRuleFlow:
    RuleFlow
    + Sync
    + Send {
    // Provided method
    fn async_flow<'life0, 'async_trait, Obj, Out>(
        &'life0 self,
        obj: Obj,
    ) -> Pin<Box<dyn Future<Output = Result<Out>> + Send + 'async_trait>>
       where Obj: 'async_trait + Serialize + Send,
             Out: 'async_trait + for<'a> Deserialize<'a>,
             Self: 'async_trait,
             'life0: 'async_trait { ... }
}

Provided Methods§

Source

fn async_flow<'life0, 'async_trait, Obj, Out>( &'life0 self, obj: Obj, ) -> Pin<Box<dyn Future<Output = Result<Out>> + Send + 'async_trait>>
where Obj: 'async_trait + Serialize + Send, Out: 'async_trait + for<'a> Deserialize<'a>, Self: 'async_trait, 'life0: 'async_trait,

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§