pub trait StreamApiExt<M: Model> {
// Required method
fn stream_buffered<'a, 'b: 'a, C: Connection + Send + 'b>(
self,
conn: &'b mut C,
) -> Pin<Box<dyn Stream<Item = Result<RowResult, DbError>> + Send + 'a>>;
}Expand description
Stream API 扩展 trait
为 QueryBuilder<M> 提供 stream_buffered 兼容版方法。
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".