Skip to main content

LogChunkStream

Type Alias LogChunkStream 

Source
pub type LogChunkStream = Pin<Box<dyn Stream<Item = Result<LogChunk>> + Send>>;
Expand description

Boxed, pinned stream of LogChunk items for a single container.

Returned by ContainerRuntime::logs. The stream is Send so it can be forwarded across async task boundaries (e.g. from a worker task to an HTTP response body or a WebSocket session).

Aliased Typeยง

pub struct LogChunkStream { /* private fields */ }