Trait otter_api_tests::IteratorExt[][src]

pub trait IteratorExt<U, E, F>: Iterator where
    F: FnMut(Self::Item) -> Result<U, Loop<E>>, 
{ type Return: Iterator; type TryReturn: Iterator; pub fn map_loop(self, f: F) -> Self::Return
    where
        E: EmptyType
;
pub fn try_map_loop(self, f: F) -> Self::TryReturn; }

Associated Types

Loading content...

Required methods

pub fn map_loop(self, f: F) -> Self::Return where
    E: EmptyType
[src]

pub fn try_map_loop(self, f: F) -> Self::TryReturn[src]

Loading content...

Implementors

impl<T, U, E, F> IteratorExt<U, E, F> for T where
    T: Iterator,
    F: FnMut(<T as Iterator>::Item) -> Result<U, Loop<E>>, 
[src]

type Return = impl Iterator<Item = U>

type TryReturn = impl Iterator<Item = Result<U, E>>

Loading content...