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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§