hickory_proto::tcp

Trait DnsTcpStream

Source
pub trait DnsTcpStream:
    AsyncRead
    + AsyncWrite
    + Unpin
    + Send
    + Sync
    + Sized
    + 'static {
    type Time: Time;
}
Expand description

Trait for TCP connection

Required Associated Types§

Source

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", so this trait is not object safe.

Implementors§