pub trait TopologyServerHandler<___T: Transport = Channel> {
// Required method
fn add_element(
&mut self,
request: Request<AddElement, ___T>,
responder: Responder<AddElement, ___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 Topology protocol.
See Topology for more details.
Required Methods§
Sourcefn add_element(
&mut self,
request: Request<AddElement, ___T>,
responder: Responder<AddElement, ___T>,
) -> impl Future<Output = ()> + Send
fn add_element( &mut self, request: Request<AddElement, ___T>, responder: Responder<AddElement, ___T>, ) -> impl Future<Output = ()> + Send
Called by a Power Element owner to register a new Power Element and open control channels for that element.
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.