pub trait ProxyHostPublisherProxyInterface: Send + Sync {
type PublishProxyHostResponseFut: Future<Output = Result<ProxyHostPublisherPublishProxyHostResult, Error>> + Send;
// Required method
fn publish_proxy_host(
&self,
host: &str,
addresses: &[IpAddress],
options: &ProxyHostPublicationOptions,
service_instance_publisher: ServerEnd<ServiceInstancePublisherMarker>,
) -> Self::PublishProxyHostResponseFut;
}Required Associated Types§
type PublishProxyHostResponseFut: Future<Output = Result<ProxyHostPublisherPublishProxyHostResult, Error>> + Send
Required Methods§
fn publish_proxy_host( &self, host: &str, addresses: &[IpAddress], options: &ProxyHostPublicationOptions, service_instance_publisher: ServerEnd<ServiceInstancePublisherMarker>, ) -> Self::PublishProxyHostResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".