Runnable

Trait Runnable 

Source
pub trait Runnable: Agent {
    // Required method
    fn run(self) -> RunAgent<Self>;
}

Required Methods§

Source

fn run(self) -> RunAgent<Self>

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<A: Agent> Runnable for A
where Self::Context: Default,