Skip to main content

Link

Trait Link 

Source
pub trait Link {
    type Tx: LinkTx;
    type Rx: LinkRx;

    // Required method
    fn split(self) -> (Self::Tx, Self::Rx);
}
Expand description

Bidirectional raw-bytes transport.

TCP, WebSocket, SHM all implement this. No knowledge of what’s being sent — just bytes in, bytes out. The transport provides write buffers so callers can encode directly into the destination (zero-copy for SHM).

Required Associated Types§

Required Methods§

Source

fn split(self) -> (Self::Tx, Self::Rx)

Implementors§

Source§

type Tx = Tx

Source§

type Rx = Rx