Runnable

Trait Runnable 

Source
pub trait Runnable {
    // Required method
    fn run(&self);
}
Expand description

Abscissa core prelude Runnable is a common trait for things which can be run without any arguments.

Its primary intended purpose is for use in conjunction with Command.

Required Methods§

Source

fn run(&self)

Run this Runnable

Implementations on Foreign Types§

Source§

impl Runnable for Box<dyn Fn()>

Source§

fn run(&self)

Implementors§

Source§

impl Runnable for LightNodeCmd

Source§

impl<C> Runnable for Help<C>
where C: Command,

Source§

impl<Cmd> Runnable for EntryPoint<Cmd>
where Cmd: Command + Runnable,