pub trait ServiceInstancePublicationResponder_ProxyInterface: Send + Sync {
type OnPublicationResponseFut: Future<Output = Result<ServiceInstancePublicationResponderOnPublicationResult, Error>> + Send;
// Required method
fn on_publication(
&self,
publication_cause: ServiceInstancePublicationCause,
subtype: Option<&str>,
source_addresses: &[IpAddress],
) -> Self::OnPublicationResponseFut;
}Required Associated Types§
type OnPublicationResponseFut: Future<Output = Result<ServiceInstancePublicationResponderOnPublicationResult, Error>> + Send
Required Methods§
fn on_publication( &self, publication_cause: ServiceInstancePublicationCause, subtype: Option<&str>, source_addresses: &[IpAddress], ) -> Self::OnPublicationResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".