RuleFlow

Trait RuleFlow 

Source
pub trait RuleFlow {
    // Required method
    fn flow<Obj: Serialize, Out: for<'a> Deserialize<'a>>(
        &self,
        obj: Obj,
    ) -> Result<Out>;

    // Provided method
    fn version(&self) -> i32 { ... }
}

Required Methods§

Source

fn flow<Obj: Serialize, Out: for<'a> Deserialize<'a>>( &self, obj: Obj, ) -> Result<Out>

Provided Methods§

Source

fn version(&self) -> i32

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§