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).