pub trait Source: Send {
// Required method
fn stream_partitions<'async_trait>(
self: Box<Self>,
) -> Pin<Box<dyn Future<Output = Result<Vec<BatchStream>, ElError>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
A data source. Yields one or more partitions of Arrow batches.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".