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", so this trait is not object safe.
Implementors§
impl Stream<Result<OwnedMessage, KafkaError>> for KafkaStreamConsumerAdapter
Available on crate feature
kafka only.