Skip to main content

DnsStreamHandle

Trait DnsStreamHandle 

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

Implementations of Sinks for sending DNS messages

Required Methods§

Source

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§