pub trait RecordBatchStream: Stream<Item = Result<RecordBatch>> {
// Required methods
fn schema(&self) -> SchemaRef;
fn output_ordering(&self) -> Option<&[OrderOption]>;
fn metrics(&self) -> Option<RecordBatchMetrics>;
// Provided method
fn name(&self) -> &str { ... }
}