Skip to main content

PluginDuplex

Type Alias PluginDuplex 

Source
pub type PluginDuplex<R, W> = DuplexStreamTransport<R, W, LengthPrefixed, CborCodec, DUPLEX_SLOTS, DUPLEX_BUF>;
Expand description

Type alias for the duplex transport tau uses on every plugin pipe.

R / W are the plugin’s reader/writer halves of the byte stream (typically FuturesIoReader<Async<File>> / FuturesIoWriter<…> for stdin/stdout pipes).

Aliased Type§

pub struct PluginDuplex<R, W> { /* private fields */ }