pub trait PublisherProxyInterface: Send + Sync {
type PublishServiceInstanceResponseFut: Future<Output = Result<PublisherPublishServiceInstanceResult, Error>> + Send;
// Required method
fn publish_service_instance(
&self,
service: &str,
instance: &str,
media: Media,
perform_probe: bool,
publication_responder: ClientEnd<PublicationResponder_Marker>,
) -> Self::PublishServiceInstanceResponseFut;
}Required Associated Types§
type PublishServiceInstanceResponseFut: Future<Output = Result<PublisherPublishServiceInstanceResult, Error>> + Send
Required Methods§
fn publish_service_instance( &self, service: &str, instance: &str, media: Media, perform_probe: bool, publication_responder: ClientEnd<PublicationResponder_Marker>, ) -> Self::PublishServiceInstanceResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".