Skip to main content

FakeNetcfgProxyInterface

Trait FakeNetcfgProxyInterface 

Source
pub trait FakeNetcfgProxyInterface: Send + Sync {
    type SetDnsResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn set_dns(&self, servers: &[DnsServer_]) -> Self::SetDnsResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn set_dns(&self, servers: &[DnsServer_]) -> Self::SetDnsResponseFut

Implementors§