Trait trust_dns::client::ClientStreamHandle
source · pub trait ClientStreamHandle: 'static + Send {
fn send(&mut self, buffer: SerialMessage) -> Result<(), ProtoError>;
}
Expand description
This is an alias for trust_dns_proto::DnsStreamHandle
Implementations of Sinks for sending DNS messages
Required Methods
sourcefn 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.