Trait trust_dns_proto::xfer::dns_handle::DnsStreamHandle[][src]

pub trait DnsStreamHandle {
    type Error: FromProtoError;
    fn send(&mut self, buffer: Vec<u8>) -> Result<(), Self::Error>;
}

Implementations of Sinks for sending DNS messages

Associated Types

The Error type to be returned if there is an error

Required Methods

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

Implementors