fidl_fuchsia_net_mdns

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§

Source

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

Implementors§