Expand description
Bounded and unbounded queues that bridge external producers into a Datum stream.
SourceQueue / BoundedSourceQueue let external code feed elements into a running stream,
while SinkQueue lets external code pull materialized results out on demand.
Structs§
- Bounded
Source Queue - Materialized handle of
Source::queue_bounded: a synchronous, bounded, lock-free queue with no overflow strategy (a full buffer drops).Clone; the stream completes when the last handle is dropped. - Sink
Queue - Materialized handle of
Sink::queue: lets external code pull materialized elements out of a running stream on demand. - Source
Queue - Materialized handle of
Source::queue: a bounded queue with a configurableOverflowStrategy. UnderBackpressure,maxConcurrentOffersis 1 —offerblocks until buffer space is free and a second concurrent offer errors.
Enums§
- Queue
Offer Result - Outcome of offering one element to a source queue.