fidl_fuchsia_net_mdns

Trait HostNameResolverProxyInterface

Source
pub trait HostNameResolverProxyInterface: Send + Sync {
    type ResolveHostNameResponseFut: Future<Output = Result<Vec<HostAddress>, Error>> + Send;

    // Required method
    fn resolve_host_name(
        &self,
        host: &str,
        timeout: i64,
        options: &HostNameResolutionOptions,
    ) -> Self::ResolveHostNameResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn resolve_host_name( &self, host: &str, timeout: i64, options: &HostNameResolutionOptions, ) -> Self::ResolveHostNameResponseFut

Implementors§