pub trait AsStream: Sized {
// Required method
fn as_ref(&self) -> &Stream;
// Provided methods
fn name(&self) -> &str { ... }
fn create_streaming_request(
&self,
rows: Vec<AppendRowsRequestBuilder>,
) -> impl Stream<Item = AppendRowsRequest> { ... }
}Required Methods§
Provided Methods§
fn name(&self) -> &str
fn create_streaming_request( &self, rows: Vec<AppendRowsRequestBuilder>, ) -> impl Stream<Item = AppendRowsRequest>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.