Trait cgp_run::CanRun

source ·
pub trait CanRun: Async + HasErrorType {
    // Required method
    fn run(&self) -> impl Future<Output = Result<(), Self::Error>> + Send;
}

Required Methods§

source

fn run(&self) -> impl Future<Output = Result<(), Self::Error>> + Send

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Context> CanRun for Context
where Context: Async + HasErrorType + HasComponents, Context::Components: Runner<Context>,