pub trait ExecutionControllerServerHandler<___T = Channel>where
___T: Transport,{
// Required method
fn stop(&mut self) -> impl Future<Output = ()> + Send;
// Provided method
fn on_unknown_interaction(
&mut self,
ordinal: u64,
) -> impl Future<Output = ()> + Send { ... }
}Expand description
A server handler for the ExecutionController protocol.
See ExecutionController for more details.
Required Methods§
Sourcefn stop(&mut self) -> impl Future<Output = ()> + Send
fn stop(&mut self) -> impl Future<Output = ()> + Send
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.
Provided Methods§
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.