Expand description
Core traits for generators, output sinks, and post-processors.
Structs§
- Collector
Sink - A simple collector sink that stores all items in memory.
- Generation
Progress - Progress information for long-running generation.
- Generator
Iterator - Iterator adapter for generators.
- Noop
Progress Reporter - No-op progress reporter for when progress tracking is not needed.
- Null
Sink - A sink that discards all data (useful for benchmarking).
- Passthrough
Processor - A no-op processor that passes records through unchanged.
- Pipeline
Builder - Builder for creating post-processor pipelines.
- Post
Processor Pipeline - A pipeline of post-processors applied in sequence.
- Process
Context - Context passed to post-processors during processing.
- Processor
Stats - Statistics from a post-processor run.
- Sink
Buffer Config - Configuration for buffered sinks.
- Stream
Config - Configuration for streaming generation.
- Stream
Control - Handle for controlling an active stream.
- Stream
Error - Error during streaming (non-fatal).
- Stream
Progress - Progress information during streaming.
- Stream
Summary - Summary of a completed stream.
- VecSink
- A sink that collects items into a vector.
Enums§
- Backpressure
Strategy - Backpressure handling strategy.
- Stream
Error Category - Categories of streaming errors.
- Stream
Event - Events emitted during streaming generation.
Traits§
- Generator
- Core trait for all data generators.
- Parallel
Generator - Trait for generators that can be parallelized.
- Partitioned
Sink - Trait for sinks that support partitioned output.
- Post
Processor - Core trait for post-processors that modify records and generate labels.
- Progress
Reporter - Trait for components that can report progress.
- Sink
- Core trait for output sinks.
- Streaming
Generator - Trait for generators that support streaming output.
- Streaming
Sink - Trait for output sinks that support streaming input.