pub trait Subscription {
// Required method
fn next(&mut self) -> Result<Option<SubscriptionItem>, Error>;
}
Expand description
A trait for consuming field outputs from streams.
This trait provides an abstraction over different implementations of subscriptions to field output streams. Implementors should handle the details of their specific transport mechanism while providing a consistent interface for consumers.