pgwire::pg_protocol

Trait PgByteStream

source
pub trait PgByteStream:
    AsyncWrite
    + AsyncRead
    + Unpin
    + Send
    + 'static { }
Expand description

Trait for a byte stream that can be used for pg protocol.

Implementors§

source§

impl<S> PgByteStream for S
where S: AsyncWrite + AsyncRead + Unpin + Send + 'static,