Trait NodeControllerClientHandler

Source
pub trait NodeControllerClientHandler<___T: Transport = Channel> {
    // Required method
    fn on_bind(
        &mut self,
        sender: &ClientSender<NodeController, ___T>,
        event: Response<OnBind, ___T>,
    ) -> impl Future<Output = ()> + Send;

    // Provided method
    fn on_unknown_interaction(
        &mut self,
        sender: &ClientSender<NodeController, ___T>,
        ordinal: u64,
    ) -> impl Future<Output = ()> + Send { ... }
}
Expand description

A client handler for the NodeController protocol.

See NodeController for more details.

Required Methods§

Source

fn on_bind( &mut self, sender: &ClientSender<NodeController, ___T>, event: Response<OnBind, ___T>, ) -> impl Future<Output = ()> + Send

Event that is triggered when the associated Node is bound to a driver. Replaced with WaitForDriver.

Provided Methods§

Source

fn on_unknown_interaction( &mut self, sender: &ClientSender<NodeController, ___T>, ordinal: u64, ) -> impl Future<Output = ()> + Send

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.

Implementors§