[−][src]Trait trust_dns_client::client::client_connection::ClientConnection
Trait for client connections
Associated Types
type Sender: DnsRequestSender<DnsResponseFuture = Self::Response>
The associated DNS RequestSender type.
type Response: Future<Output = Result<DnsResponse, ProtoError>> + 'static + Send + Unpin
Response type of the RequestSender
type SenderFuture: Future<Output = Result<Self::Sender, ProtoError>> + 'static + Send + Unpin
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