Trait FuturesSet

Source
pub trait FuturesSet<Fut>: Stream<Item = <Fut as Future>::Output>
where Fut: Future,
{ // 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> FuturesSet<Fut> for FuturesOrdered<Fut>
where Fut: Future,

Source§

fn is_empty(&self) -> bool

Source§

fn push(&mut self, future: Fut)

Source§

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

Source§

fn is_empty(&self) -> bool

Source§

fn push(&mut self, future: Fut)

Implementors§