[][src]Trait amadeus_core::Source

pub trait Source {
    type Item;
    type Error: Error;
    type DistStream: DistributedStream<Item = Result<Self::Item, Self::Error>>;
    fn dist_stream(self) -> Self::DistStream;
}

Associated Types

type Item

type Error: Error

type DistStream: DistributedStream<Item = Result<Self::Item, Self::Error>>

Loading content...

Required methods

fn dist_stream(self) -> Self::DistStream

Loading content...

Implementors

Loading content...