Struct trust_dns::tcp::TcpClientConnection [] [src]

pub struct TcpClientConnection {
    // some fields omitted
}

Methods

impl TcpClientConnection
[src]

fn new(name_server: SocketAddr) -> ClientResult<Self>

Trait Implementations

impl Debug for TcpClientConnection
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl ClientConnection for TcpClientConnection
[src]

fn send(&mut self, buffer: &[u8]) -> ClientResult<Vec<u8>>

send the message to the specified address