fidl_fuchsia_net_mdns

Trait ServiceInstancePublicationResponder_ProxyInterface

Source
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§

Required Methods§

Source

fn on_publication( &self, publication_cause: ServiceInstancePublicationCause, subtype: Option<&str>, source_addresses: &[IpAddress], ) -> Self::OnPublicationResponseFut

Implementors§