Trait ListDyn

Source
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§

Source

fn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<Entry>>>

The dyn version of List::next.

Implementors§

Source§

impl<T: List + ?Sized> ListDyn for T