Skip to main content

BridgeIo

Type Alias BridgeIo 

pub type BridgeIo<Ingress, Egress> = Bridge<ByteIo<Ingress>, ByteIo<Egress>>;
Available on crate feature std only.
Expand description

A Bridge between two byte streams.

Aliased Type§

pub struct BridgeIo<Ingress, Egress> {
    pub ingress: ByteIo<Ingress>,
    pub egress: ByteIo<Egress>,
}

Fields§

§ingress: ByteIo<Ingress>

The side facing the client.

§egress: ByteIo<Egress>

The side facing the server.