pub trait Stream<ITEM> {
// Required method
fn next(&mut self) -> impl Future<Output = Option<ITEM>> + Send;
}Expand description
A stream.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Stream<Result<OwnedMessage, KafkaError>> for KafkaStreamConsumerAdapter
Available on crate feature
kafka only.