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

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<Cmd> Runnable for EntryPoint<Cmd> where
    Cmd: Command + Runnable
[src]

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

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

pub fn run(&self)[src]

Print help information for the given command

Loading content...

Implementors

impl Runnable for ZebradCmd[src]

impl Runnable for GenerateCmd[src]

pub fn run(&self)[src]

Start the application.

impl Runnable for StartCmd[src]

pub fn run(&self)[src]

Start the application.

impl Runnable for VersionCmd[src]

pub fn run(&self)[src]

Print version message

Loading content...