Module stream_control

Module stream_control 

Source
Expand description

Stream control functionality for Ollama API.

Provides pause/resume/cancel capabilities for streaming responses, with buffering, metrics tracking, and control interfaces.

Modules§

exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module ::prelude :: *.

Structs§

ControlledStream
Wrapper for streams with control capabilities
StreamBuffer
Buffer for managing streaming data during pause states
StreamControl
Main stream control interface
StreamMetrics
Metrics for stream control operations

Enums§

StreamControlError
Errors related to stream control operations
StreamState
Streaming control functionality for pause/resume/cancel operations