Expand description
Side channels: the only way a plugin reaches the outside world.
A plugin never opens a file. At build time it describes the sink it wants
and receives an opaque ChannelId. At run time it queues writes against
that id. The host owns the file descriptor, dedupes identical targets so two
plugins pointing at the same path share one buffered writer, and can refuse
a target outright (see stdout, below).
Structs§
- Channel
Id - Opaque handle to a host-owned side channel.
Enums§
- Channel
Target - Where a side channel points.
Traits§
- Host
Builder - Implemented by the host. Handed to plugins during construction only.