Struct tokio_dns::TcpStream[][src]

pub struct TcpStream;

Shim for tokio::net::TcpStream

Methods

impl TcpStream
[src]

Connect to the endpoint using the default resolver.

Connect to the endpoint using a custom resolver.

Auto Trait Implementations

impl Send for TcpStream

impl Sync for TcpStream