fidl_fuchsia_net_name

Trait LookupAdminProxyInterface

Source
pub trait LookupAdminProxyInterface: Send + Sync {
    type SetDnsServersResponseFut: Future<Output = Result<LookupAdminSetDnsServersResult, Error>> + Send;
    type GetDnsServersResponseFut: Future<Output = Result<Vec<SocketAddress>, Error>> + Send;

    // Required methods
    fn set_dns_servers(
        &self,
        servers: &[SocketAddress],
    ) -> Self::SetDnsServersResponseFut;
    fn get_dns_servers(&self) -> Self::GetDnsServersResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn set_dns_servers( &self, servers: &[SocketAddress], ) -> Self::SetDnsServersResponseFut

Source

fn get_dns_servers(&self) -> Self::GetDnsServersResponseFut

Implementors§