pub struct BufDnsStreamHandle { /* private fields */ }
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.