Skip to main content

FakeSocketProxy_ProxyInterface

Trait FakeSocketProxy_ProxyInterface 

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

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

Required Associated Types§

Required Methods§

Source

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

Implementors§