pub trait ListDyn:
Unpin
+ Send
+ Sync {
// Required method
fn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<Entry>>>;
}
Expand description
ListDyn is the dyn version of List
. Makes it possible to use as
Box<dyn ListDyn>
.
Required Methods§
Sourcefn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<Entry>>>
fn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<Entry>>>
The dyn version of List::next
.