Trait trust_dns::client::ClientConnection [] [src]

pub trait ClientConnection: Sized {
    type MessageStream;
    fn new_stream(
        &self,
        handle: &Handle
    ) -> ClientResult<(Box<Future<Item = Self::MessageStream, Error = Error>>, Box<DnsStreamHandle<Error = ClientError>>)>; }

Trait for client connections

Associated Types

The associated DNS Message stream type.

Required Methods

Return the inner Futures items

Consumes the connection and allows for future based operations afterward.

Implementors