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/string_field/symbol_field helpers read named entries out of an
Expr::Map and are reused by sibling modules that decode stream values.
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.