pub trait DirReceiverServerHandler<___T: Transport = Channel> {
// Required method
fn receive(
&mut self,
request: Request<Receive, ___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 DirReceiver protocol.
See DirReceiver 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", so this trait is not object safe.