Skip to main content

CompositeNodeManagerLocalServerHandler

Trait CompositeNodeManagerLocalServerHandler 

Source
pub trait CompositeNodeManagerLocalServerHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn add_spec( &mut self, request: Request<AddSpec, ___T>, responder: Responder<AddSpec, ___T>, ) -> impl Future<Output = ()>; // Provided method fn on_unknown_interaction( &mut self, ordinal: u64, ) -> impl Future<Output = ()> { ... } }
Expand description

A server handler for the CompositeNodeManager protocol.

See CompositeNodeManager for more details.

Required Methods§

Source

fn add_spec( &mut self, request: Request<AddSpec, ___T>, responder: Responder<AddSpec, ___T>, ) -> impl Future<Output = ()>

Adds the given composite node specification to the driver framework.

Provided Methods§

Source

fn on_unknown_interaction(&mut self, ordinal: u64) -> impl Future<Output = ()>

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<___H, ___T> CompositeNodeManagerLocalServerHandler<___T> for Local<___H>
where ___H: CompositeNodeManagerServerHandler<___T>, ___T: Transport,

Source§

async fn add_spec( &mut self, request: Request<AddSpec, ___T>, responder: Responder<AddSpec, ___T>, )

Source§

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

Implementors§