Skip to main content

InBandInterruptServerHandler

Trait InBandInterruptServerHandler 

Source
pub trait InBandInterruptServerHandler<___T: Transport = DriverChannel> {
    // Required method
    fn callback(
        &mut self,
        responder: Responder<Callback, ___T>,
    ) -> impl Future<Output = ()> + Send;
}
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 = ()> + 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§