fidl_fuchsia_net_mdns

Trait ResolverProxyInterface

Source
pub trait ResolverProxyInterface: Send + Sync {
    type ResolveHostNameResponseFut: Future<Output = Result<(Option<Box<Ipv4Address>>, Option<Box<Ipv6Address>>), Error>> + Send;

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

Required Associated Types§

Source

type ResolveHostNameResponseFut: Future<Output = Result<(Option<Box<Ipv4Address>>, Option<Box<Ipv6Address>>), Error>> + Send

Required Methods§

Source

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

Implementors§

Source§

impl ResolverProxyInterface for ResolverProxy

Source§

type ResolveHostNameResponseFut = QueryResponseFut<(Option<Box<Ipv4Address>>, Option<Box<Ipv6Address>>)>