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

pub trait Runnable {
    pub 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

pub fn run(&self)[src]

Run this Runnable

Loading content...

Implementations on Foreign Types

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

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

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

pub fn run(&self)[src]

Print help information for the given command

Loading content...


impl Runnable for ZebradCmd[src]

Loading content...