Skip to main content

InBandInterruptLocalServerHandler

Trait InBandInterruptLocalServerHandler 

Source
pub trait InBandInterruptLocalServerHandler<___T = DriverChannel>
where ___T: Transport,
{ // Required method fn callback( &mut self, responder: Responder<Callback, ___T>, ) -> impl Future<Output = ()>; }
Expand description

A server handler for the InBandInterrupt protocol.

See InBandInterrupt for more details.

Required Methods§

Source

fn callback( &mut self, responder: Responder<Callback, ___T>, ) -> impl Future<Output = ()>

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

Source§

async fn callback(&mut self, responder: Responder<Callback, ___T>)

Implementors§