Struct dnstap::DNSTapPendingWriter [] [src]

pub struct DNSTapPendingWriter { /* fields omitted */ }

Methods

impl DNSTapPendingWriter
[src]

Creates a DNSTapPendingWriter object. The communication channel is established at this point, and the sender() function can be used in order to get Sender objects.

Spawns a new task handling writes to the socket.

Returns a cloneable Sender object that can used to send DNS messages.