Struct tokio_dns::TcpListener [−][src]
pub struct TcpListener;
Shim for tokio::net::TcpListener
Methods
impl TcpListener
[src]
impl TcpListener
pub fn bind<'a, T>(ep: T) -> IoFuture<TcpListener> where
T: ToEndpoint<'a>,
[src]
pub fn bind<'a, T>(ep: T) -> IoFuture<TcpListener> where
T: ToEndpoint<'a>,
Bind to the endpoint using the default resolver.
pub fn bind_with<'a, T, R>(ep: T, resolver: R) -> IoFuture<TcpListener> where
T: ToEndpoint<'a>,
R: Resolver,
[src]
pub fn bind_with<'a, T, R>(ep: T, resolver: R) -> IoFuture<TcpListener> where
T: ToEndpoint<'a>,
R: Resolver,
Bind to the endpoint using a custom resolver.
Auto Trait Implementations
impl Send for TcpListener
impl Send for TcpListener
impl Sync for TcpListener
impl Sync for TcpListener