[−][src]Trait trust_dns::client::ClientConnection
Trait for client connections
Associated Types
type Sender: DnsRequestSender<DnsResponseFuture = Self::Response>
The associated DNS RequestSender type.
type Response: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send
Response type of the RequestSender
type SenderFuture: Future<Item = Self::Sender, Error = ProtoError> + 'static + Send
A future that resolves to the RequestSender
Required methods
fn new_stream(&self, signer: Option<Arc<Signer>>) -> Self::SenderFuture
Construct a new stream for use in the Client