Expand description
Stream related utilities.
Re-exports§
pub use base::*;
Modules§
- base
- The pool of backend streams, and the primitives that record on their memory what a unit of work did or did not write.
- scheduler
- Scheduler based multi-stream support.
Structs§
- Event
Stream Backend Wrapper - The factory a
MultiStream’s pool is built from. Public only because it names the pool inFailureStore::Factory; it has no surface of its own. - Execute
Scope - One scope around a unit of device work.
- Failures
- Every failure a device is still holding, plus the little a write scope needs around them.
- 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
Capture - The graph capture of one pooled backend stream: where it sits in the lifecycle, and the memory its recorded launches were given.
- Stream
Wrapper - A wrapper around a backend stream that includes synchronization metadata.
Enums§
- Capture
End - What
StreamCapture::endfound when it closed the window: the caller’s own capture, or one belonging to a logical stream that never came back to close it. - Scoped
Outcome - What a scope’s work did.
Traits§
- Event
Stream Backend - Trait defining the backend operations for managing streams and events.
- Failure
Store - A multi-stream driver that owns a device’s
Failures. - Write
Scoped - A server whose device work runs inside an
ExecuteScope.
Functions§
- failed_
writing - Claim
writtenforerrorwithout running anything: work that never started leaves its destinations exactly as they were, so a read of one of them has to fail on the error that stopped it.