pub trait PathLocalServerHandler<___T = Channel>where
___T: Transport,{
// Required method
fn set_bandwidth(
&mut self,
request: Request<SetBandwidth, ___T>,
responder: Responder<SetBandwidth, ___T>,
) -> impl Future<Output = ()>;
// Provided method
fn on_unknown_interaction(
&mut self,
ordinal: u64,
) -> impl Future<Output = ()> { ... }
}Expand description
A server handler for the Path protocol.
See Path for more details.
Required Methods§
Sourcefn set_bandwidth(
&mut self,
request: Request<SetBandwidth, ___T>,
responder: Responder<SetBandwidth, ___T>,
) -> impl Future<Output = ()>
fn set_bandwidth( &mut self, request: Request<SetBandwidth, ___T>, responder: Responder<SetBandwidth, ___T>, ) -> impl Future<Output = ()>
Sets the bandwidth interconnect path.
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.