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