Skip to main content

SqlStream

Type Alias SqlStream 

Source
pub type SqlStream = Pin<Box<dyn Stream<Item = Result<RecordBatch, SqlError>> + Send>>;
Expand description

Pinned stream of record batches with typed SqlError items.

Previously this used String as the error type, which lost diagnostic information at the stream boundary. Callers that need a String error can map with |e| e.to_string().

Aliased Type§

pub struct SqlStream { /* private fields */ }