zebrad::components::tokio

Trait RuntimeRun

source
pub(crate) trait RuntimeRun {
    // Required method
    fn run(self, fut: impl Future<Output = Result<(), Report>>);
}
Expand description

Extension trait to centralize entry point for runnable subcommands that depend on tokio

Required Methods§

source

fn run(self, fut: impl Future<Output = Result<(), Report>>)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RuntimeRun for Runtime

source§

fn run(self, fut: impl Future<Output = Result<(), Report>>)

Implementors§