pub trait ExecutionControllerClientHandler<___T: Transport> {
// Required method
fn on_stop(
&mut self,
sender: &ClientSender<___T, ExecutionController>,
message: ResponseBuffer<___T, OnStop>,
);
// Provided method
fn on_unknown_interaction(
&mut self,
sender: &ClientSender<___T, ExecutionController>,
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<___T, ExecutionController>,
message: ResponseBuffer<___T, OnStop>,
)
fn on_stop( &mut self, sender: &ClientSender<___T, ExecutionController>, message: ResponseBuffer<___T, OnStop>, )
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.