Trait vector_common::finalizer::FuturesSet

source ·
pub trait FuturesSet<Fut: Future>: Stream<Item = Fut::Output> {
    // Required methods
    fn is_empty(&self) -> bool;
    fn push(&mut self, future: Fut);
}

Required Methods§

source

fn is_empty(&self) -> bool

source

fn push(&mut self, future: Fut)

Implementations on Foreign Types§

source§

impl<Fut: Future> FuturesSet<Fut> for FuturesOrdered<Fut>

source§

fn is_empty(&self) -> bool

source§

fn push(&mut self, future: Fut)

source§

impl<Fut: Future> FuturesSet<Fut> for FuturesUnordered<Fut>

source§

fn is_empty(&self) -> bool

source§

fn push(&mut self, future: Fut)

Implementors§