Trait ExecutionControllerClientSender

Source
pub trait ExecutionControllerClientSender {
    type Transport: Transport;

    // Required method
    fn stop(&self) -> Result<SendFuture<'_, Self::Transport>, EncodeError>;
}
Expand description

A helper trait for the ExecutionController client sender.

Required Associated Types§

Source

type Transport: Transport

Required Methods§

Source

fn stop(&self) -> Result<SendFuture<'_, Self::Transport>, EncodeError>

Initiates a stop action on this component. Once complete, OnStop will be called with the stopped payload and this channel is closed.

Note that a component may stop running on its own at any time, so it is possible for OnStop to be received before Stop is called.

Implementations on Foreign Types§

Source§

impl<___T> ExecutionControllerClientSender for ClientSender<___T, ExecutionController>
where ___T: Transport,

Source§

fn stop(&self) -> Result<SendFuture<'_, Self::Transport>, EncodeError>

Initiates a stop action on this component. Once complete, OnStop will be called with the stopped payload and this channel is closed.

Note that a component may stop running on its own at any time, so it is possible for OnStop to be received before Stop is called.

Source§

type Transport = ___T

Implementors§