Skip to main content

DnsStreamHandle

Trait DnsStreamHandle 

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§

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

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

Implementors§