Struct dnstap::Sender
[−]
[src]
pub struct Sender(_);
Sender
is a cloneable structure to send DNS messages.
Methods
impl Sender
[src]
fn send(&self, dns_message: DNSMessage) -> Result<(), TrySendError<DNSMessage>>
Sends a DNS message.
Trait Implementations
impl Clone for Sender
[src]
fn clone(&self) -> Sender
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more