Struct trust_dns_proto::StreamHandle
[−]
[src]
pub struct StreamHandle<E> where
E: FromProtoError, { /* fields omitted */ }
The StreamHandle is the general interface for communicating with the DnsFuture
Methods
impl<E> StreamHandle<E> where
E: FromProtoError,
[src]
E: FromProtoError,
fn new(sender: UnboundedSender<Vec<u8>>) -> Self
[src]
Constructs a new StreamHandle for wrapping the sender
Trait Implementations
impl<E> DnsStreamHandle for StreamHandle<E> where
E: FromProtoError,
[src]
E: FromProtoError,