Trait cgp_run::Runner

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

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Component, Context> Runner<Context> for Component
where Context: Async + HasErrorType, Component: DelegateComponent<RunnerComponent>, Component::Delegate: Runner<Context>,