ListDyn

Trait ListDyn 

Source
pub trait ListDyn:
    Unpin
    + Send
    + Sync {
    // Required method
    fn next_dyn(
        &mut self,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Entry>, Error>> + Send + '_>>;
}
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, ) -> Pin<Box<dyn Future<Output = Result<Option<Entry>, Error>> + Send + '_>>

The dyn version of List::next.

Implementors§

Source§

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