Struct trust_dns_proto::xfer::dns_handle::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]
impl<E> StreamHandle<E> where
E: FromProtoError,
pub fn new(sender: UnboundedSender<Vec<u8>>) -> Self
[src]
pub fn new(sender: UnboundedSender<Vec<u8>>) -> Self
Constructs a new StreamHandle for wrapping the sender
Trait Implementations
impl<E> DnsStreamHandle for StreamHandle<E> where
E: FromProtoError,
[src]
impl<E> DnsStreamHandle for StreamHandle<E> where
E: FromProtoError,
Auto Trait Implementations
impl<E> Send for StreamHandle<E>
impl<E> Send for StreamHandle<E>
impl<E> Sync for StreamHandle<E> where
E: Sync,
impl<E> Sync for StreamHandle<E> where
E: Sync,