fidl_fuchsia_net_mdnsTrait ServiceSubscriptionListenerProxyInterface
Source pub trait ServiceSubscriptionListenerProxyInterface: Send + Sync {
type OnInstanceDiscoveredResponseFut: Future<Output = Result<(), Error>> + Send;
type OnInstanceChangedResponseFut: Future<Output = Result<(), Error>> + Send;
type OnInstanceLostResponseFut: Future<Output = Result<(), Error>> + Send;
type OnQueryResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn on_instance_discovered(
&self,
instance: &ServiceInstance,
) -> Self::OnInstanceDiscoveredResponseFut;
fn on_instance_changed(
&self,
instance: &ServiceInstance,
) -> Self::OnInstanceChangedResponseFut;
fn on_instance_lost(
&self,
service: &str,
instance: &str,
) -> Self::OnInstanceLostResponseFut;
fn on_query(&self, resource_type: ResourceType) -> Self::OnQueryResponseFut;
}