pub trait DeviceServerHandler<___T = Channel>where
___T: Transport,{
// Required methods
fn get(
&mut self,
responder: Responder<Get, ___T>,
) -> impl Future<Output = ()> + Send;
fn set2(
&mut self,
request: Request<Set2, ___T>,
responder: Responder<Set2, ___T>,
) -> impl Future<Output = ()> + Send;
// Provided method
fn on_unknown_interaction(
&mut self,
ordinal: u64,
) -> impl Future<Output = ()> + Send { ... }
}Expand description
A server handler for the Device protocol.
See Device for more details.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".