Trait DnsStreamHandle
pub trait DnsStreamHandle: 'static + Send {
// Required method
fn send(&mut self, buffer: SerialMessage) -> Result<(), ProtoError>;
}Available on crate feature
dns only.Expand description
Implementations of Sinks for sending DNS messages
Required Methods§
fn send(&mut self, buffer: SerialMessage) -> Result<(), ProtoError>
fn send(&mut self, buffer: SerialMessage) -> Result<(), ProtoError>
Sends a message to the Handle for delivery to the server.
Implementors§
impl DnsStreamHandle for BufDnsStreamHandle
Available on crate feature
std only.