Trait trust_dns_proto::xfer::dns_handle::DnsStreamHandle

source ·
pub trait DnsStreamHandle: 'static + Send {
    // Required method
    fn send(&mut self, buffer: SerialMessage) -> Result<(), ProtoError>;
}
Expand description

Implementations of Sinks for sending DNS messages

Required Methods§

source

fn send(&mut self, buffer: SerialMessage) -> Result<(), ProtoError>

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

Implementors§