zebrad::prelude

Trait Runnable

pub trait Runnable {
    // Required method
    fn run(&self);
}
Expand description

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

Implementations on Foreign Types§

§

impl Runnable for Box<dyn Fn()>

§

fn run(&self)

Implementors§