Struct trust_dns_proto::xfer::BufDnsStreamHandle[][src]

pub struct BufDnsStreamHandle { /* fields omitted */ }
Expand description

A buffering stream bound to a SocketAddr

Implementations

Constructs a new Buffered Stream Handle, used for sending data to the DNS peer.

Arguments
  • name_server - the address of the DNS server
  • sender - the handle being used to send data to the server

Trait Implementations

Sends a message to the Handle for delivery to the server.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.