Skip to main content

ServiceInstancePublisherProxyInterface

Trait ServiceInstancePublisherProxyInterface 

Source
pub trait ServiceInstancePublisherProxyInterface: Send + Sync {
    type PublishServiceInstanceResponseFut: Future<Output = Result<ServiceInstancePublisherPublishServiceInstanceResult, Error>> + Send;

    // Required method
    fn publish_service_instance(
        &self,
        service: &str,
        instance: &str,
        options: &ServiceInstancePublicationOptions,
        publication_responder: ClientEnd<ServiceInstancePublicationResponder_Marker>,
    ) -> Self::PublishServiceInstanceResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§