[][src]Trait abscissa_core::Runnable

pub trait Runnable {
    fn run(&self);

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

fn run(&self)

Run this Runnable

Loading content...

Implementations on Foreign Types

impl Runnable for Box<dyn Fn()>[src]

Loading content...


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

fn run(&self)[src]

Print help information for the given command

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

Loading content...