Skip to main content

DnsTcpStream

Trait DnsTcpStream 

pub trait DnsTcpStream:
    Sized
    + AsyncRead
    + AsyncWrite
    + Unpin
    + Send
    + Sync
    + 'static {
    type Time: Time;
}
Available on crate features dns and hickory only.
Expand description

Trait for TCP connection

Required Associated Types§

type Time: Time

Timer type to use with this TCP stream type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§