[][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...

Implementors

impl<C> Runnable for Help<C> where
    C: Command
[src]

fn run(&self)[src]

Print help information for the given command

impl<Cmd> Runnable for EntryPoint<Cmd> where
    Cmd: Command + Runnable
[src]

Loading content...