pub trait Streamable<S>where
S: BlockStorage + Clone + 'static,{
type Item;
type Stream: Stream<Item = Self::Item> + 'static;
// Required method
fn stream(&self, storage: S) -> Self::Stream;
}pub trait Streamable<S>where
S: BlockStorage + Clone + 'static,{
type Item;
type Stream: Stream<Item = Self::Item> + 'static;
// Required method
fn stream(&self, storage: S) -> Self::Stream;
}