Skip to main content

NodeControllerClientHandler

Trait NodeControllerClientHandler 

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

    // Provided method
    fn on_unknown_interaction(
        &mut self,
        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, request: Request<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, 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".

Implementations on Foreign Types§

Source§

impl<___T> NodeControllerClientHandler<___T> for IgnoreEvents
where ___T: Transport,

Source§

async fn on_bind(&mut self, _: Request<OnBind, ___T>)

Source§

async fn on_unknown_interaction(&mut self, _: u64)

Implementors§