Skip to main content

DeviceProxyLocalServerHandler

Trait DeviceProxyLocalServerHandler 

Source
pub trait DeviceProxyLocalServerHandler<___T: Transport = Channel> {
    // Required method
    fn get_channel(
        &mut self,
        request: Request<GetChannel, ___T>,
    ) -> impl Future<Output = ()>;
}
Expand description

A server handler for the DeviceProxy protocol.

See DeviceProxy for more details.

Required Methods§

Source

fn get_channel( &mut self, request: Request<GetChannel, ___T>, ) -> 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> DeviceProxyLocalServerHandler<___T> for Local<___H>
where ___H: DeviceProxyServerHandler<___T>, ___T: Transport,

Source§

async fn get_channel(&mut self, request: Request<GetChannel, ___T>)

Implementors§