SendRunner

Trait SendRunner 

Source
pub trait SendRunner<__Context__, Code>: IsProviderFor<SendRunnerComponent, __Context__, Code>
where __Context__: HasErrorType,
{ // Required method fn send_run( __context__: &__Context__, _code: PhantomData<Code>, ) -> impl Future<Output = Result<(), __Context__::Error>> + Send; }

Required Methods§

Source

fn send_run( __context__: &__Context__, _code: PhantomData<Code>, ) -> impl Future<Output = Result<(), __Context__::Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<__Context__, Code> SendRunner<__Context__, Code> for UseContext
where __Context__: HasErrorType + CanSendRun<Code>,

Source§

fn send_run( __context__: &__Context__, _code: PhantomData<Code>, ) -> impl Future<Output = Result<(), __Context__::Error>> + Send

Source§

impl<__Context__, Code, __Components__, __Delegate__> SendRunner<__Context__, Code> for UseDelegate<__Components__>
where __Context__: HasErrorType, __Components__: DelegateComponent<Code, Delegate = __Delegate__>, __Delegate__: SendRunner<__Context__, Code>,

Source§

fn send_run( __context__: &__Context__, _code: PhantomData<Code>, ) -> impl Future<Output = Result<(), __Context__::Error>> + Send

Implementors§

Source§

impl<__Component__, __Context__, Code> SendRunner<__Context__, Code> for __Component__
where __Context__: HasErrorType, __Component__: DelegateComponent<SendRunnerComponent> + IsProviderFor<SendRunnerComponent, __Context__, Code>, __Component__::Delegate: SendRunner<__Context__, Code>,