Skip to main content

DnsStreamHandle

Trait DnsStreamHandle 

pub trait DnsStreamHandle: 'static + Send {
    // Required method
    fn send(&mut self, buffer: SerialMessage) -> Result<(), NetError>;
}
Available on crate features dns and hickory only.
Expand description

Implementations of Sinks for sending DNS messages

Required Methods§

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§