pub trait ColumnarSegmentProvider: Send + Sync {
// Required methods
fn source_limits(&self) -> Vec<SourceLimit>;
fn open(
&self,
metadata_limit_bytes: u64,
) -> Result<Box<dyn ColumnarSegmentCursor>>;
// Provided method
fn source_name(&self) -> &'static str { ... }
}Expand description
Incremental batch source and stream contracts. Re-consumable V08 columnar source provider supplied by an adapter crate.
Required Methods§
Sourcefn source_limits(&self) -> Vec<SourceLimit>
fn source_limits(&self) -> Vec<SourceLimit>
Static limitations visible before a V08 cursor is opened.
Provided Methods§
Sourcefn source_name(&self) -> &'static str
fn source_name(&self) -> &'static str
Stable source identifier for diagnostics.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".