[][src]Trait amadeus_core::Source

pub trait Source {
    type Item;
    type Error: Error;
    type DistIter: DistributedIterator<Item = Result<Self::Item, Self::Error>>;
    type Iter: Iterator<Item = Result<Self::Item, Self::Error>>;
    fn dist_iter(self) -> Self::DistIter;
fn iter(self) -> Self::Iter; }

Associated Types

type Item

type Error: Error

type DistIter: DistributedIterator<Item = Result<Self::Item, Self::Error>>

type Iter: Iterator<Item = Result<Self::Item, Self::Error>>

Loading content...

Required methods

fn dist_iter(self) -> Self::DistIter

fn iter(self) -> Self::Iter

Loading content...

Implementors

Loading content...