Skip to main content

LogsStream

Type Alias LogsStream 

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

Boxed async stream of Result<LogChunk, AgentError> items returned by Runtime::logs_stream.

'static lifetime so handlers can hold the stream past the trait method’s borrow of self.

Aliased Type§

pub struct LogsStream { /* private fields */ }