[][src]Trait zebrad::prelude::Runnable

pub trait Runnable {
    fn run(&self);
}

Commonly used Abscissa traits 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<C> Runnable for Help<C> where
    C: Command
[src]

fn run(&self)[src]

Print help information for the given command

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

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

Loading content...

Implementors

impl Runnable for ZebradCmd[src]

Loading content...