pub trait ExecutionControllerClientHandler<___T: Transport> {
// Required method
fn on_stop(
&mut self,
sender: &ClientSender<ExecutionController, ___T>,
event: Response<OnStop, ___T>,
);
// Provided method
fn on_unknown_interaction(
&mut self,
sender: &ClientSender<ExecutionController, ___T>,
ordinal: u64,
) { ... }
}
Expand description
A client handler for the ExecutionController protocol.
See ExecutionController
for more details.
Required Methods§
Sourcefn on_stop(
&mut self,
sender: &ClientSender<ExecutionController, ___T>,
event: Response<OnStop, ___T>,
)
fn on_stop( &mut self, sender: &ClientSender<ExecutionController, ___T>, event: Response<OnStop, ___T>, )
When the child is stopped due to Stop
being called, the child exiting
on its own, or for any other reason, OnStop
is called and then this
channel is closed.