Expand description
Stream related utilities.
Modules§
- scheduler
- Scheduler based multi-stream support.
Structs§
- GcTask
- A task to be enqueue on the gc stream that will be clearned after an event is reached.
- Multi
Stream - Manages multiple streams with synchronization logic based on shared bindings.
- Resolved
Streams - Streams that are synchronized correctly after a
MultiStream::resolveis called. - Stream
Pool - Represents a pool of streams, managing a collection of streams created by a factory.
Enums§
- Stream
Capture State - Where a stream sits in the graph-capture lifecycle, and the only thing
allowed to move it. Capture is a strict
NoCapture → Prepare → Capture → NoCaptureprogression, driven byprepare,beginandend; each rejects an out-of-order call, so a capture can never start unprepared and two captures can never overlap on one stream.
Traits§
- Event
Stream Backend - Trait defining the backend operations for managing streams and events.
- Stream
Factory - Trait for creating streams, used by the stream pool to generate streams as needed.
Functions§
- stream_
index - Maps a stream ID to an index within the pool’s capacity using modulo arithmetic.