Trait NodeControllerServerSender

Source
pub trait NodeControllerServerSender {
    type Transport: Transport;

    // Required method
    fn on_bind<___R>(
        &self,
        request: ___R,
    ) -> Result<SendFuture<'_, Self::Transport>, EncodeError>
       where ___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = <OnBind as Method>::Response>;
}
Expand description

A helper trait for the NodeController server sender.

Required Associated Types§

Source

type Transport: Transport

Required Methods§

Source

fn on_bind<___R>( &self, request: ___R, ) -> Result<SendFuture<'_, Self::Transport>, EncodeError>
where ___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = <OnBind as Method>::Response>,

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

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.

Implementations on Foreign Types§

Source§

impl<___T> NodeControllerServerSender for ServerSender<___T, NodeController>
where ___T: Transport,

Source§

fn on_bind<___R>( &self, request: ___R, ) -> Result<SendFuture<'_, Self::Transport>, EncodeError>
where ___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = <OnBind as Method>::Response>,

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

Source§

type Transport = ___T

Implementors§