[][src]Trait until::UntilExt

pub trait UntilExt<T: Iterator> {
    pub fn until(self, until: Instant) -> Until<Self>

Notable traits for Until<I>

impl<I: Iterator> Iterator for Until<I> type Item = I::Item;

    where
        Self: Sized
, { ... }
pub fn do_for(self, until: Duration) -> Until<Self>

Notable traits for Until<I>

impl<I: Iterator> Iterator for Until<I> type Item = I::Item;

    where
        Self: Sized
, { ... } }

Provided methods

pub fn until(self, until: Instant) -> Until<Self>

Notable traits for Until<I>

impl<I: Iterator> Iterator for Until<I> type Item = I::Item;
where
    Self: Sized

Using this the iter will continue till the specified time has passed or the internal iter is empty

pub fn do_for(self, until: Duration) -> Until<Self>

Notable traits for Until<I>

impl<I: Iterator> Iterator for Until<I> type Item = I::Item;
where
    Self: Sized

Using this the iter will continue for the specified time or until the internal iter is empty

Loading content...

Implementors

impl<I: Iterator> UntilExt<I> for I[src]

Loading content...