Skip to main content

DuplexByteStreams

Type Alias DuplexByteStreams 

Source
pub type DuplexByteStreams = ByteStreams<Compat<DuplexStream>, Compat<DuplexStream>>;

Aliased Type§

pub struct DuplexByteStreams {
    pub outgoing: Compat<DuplexStream>,
    pub incoming: Compat<DuplexStream>,
}

Fields§

§outgoing: Compat<DuplexStream>

Outgoing byte stream (where we write serialized messages)

§incoming: Compat<DuplexStream>

Incoming byte stream (where we read and parse messages)