Struct dnstap::DNSTapBuilder [] [src]

pub struct DNSTapBuilder {
    pub backlog: usize,
    pub unix_socket_path: Option<PathBuf>,
}

Builds a DNSTapPendingWriter object, to eventually start a DNSTapWriter service.

Fields

Methods

impl DNSTapBuilder
[src]

Returns a DNSTapBuilder boilerplate

Maximum number of messages to keep in queue.

Path to the UNIX socket to send dnstap data to.

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.

Trait Implementations

impl Clone for DNSTapBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for DNSTapBuilder
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more