Expand description
Buffer policy values and small expr field-extraction helpers.
This module supplies the stream fabric’s buffering contract:
BufferPolicy (a bounded capacity plus an overflow rule),
BufferOverflowPolicy (what to do when a full buffer receives a packet),
and BackpressureOutcome (the result a producer observes when it offers a
packet). Each carries a stable stream/* symbol so the policy round-trips
through the runtime’s symbol and Expr surfaces. The crate-private
field helper reads a bare-symbol entry out of an Expr::Map and is
reused by sibling modules that decode stream values; the typed
string_field/symbol_field readers are thin wrappers over the shared
sim_value::access slice readers.
Structs§
- Buffer
Policy - Buffering contract for a stream: a bounded capacity plus an overflow rule.
Enums§
- Backpressure
Outcome - Result a producer observes when it offers a packet to a buffered stream.
- Buffer
Overflow Policy - Rule applied when a full buffer receives another packet.