pub trait InstanceLocalServerHandler<___T = Channel>where
___T: Transport,{
// Required method
fn add_line(
&mut self,
request: Request<AddLine, ___T>,
) -> impl Future<Output = ()>;
// Provided method
fn on_unknown_interaction(
&mut self,
ordinal: u64,
) -> impl Future<Output = ()> { ... }
}Expand description
A server handler for the Instance protocol.
See Instance for more details.
Required Methods§
Provided Methods§
fn on_unknown_interaction(&mut self, ordinal: u64) -> 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.