Trait amadeus::Destination[][src]

pub trait Destination: Clone + Debug {
    type Item: Data;
    type Error: Error;
    type ParSink: ParallelSink<Self::Item, Done = Result<(), Self::Error>>;
    type DistSink: DistributedSink<Self::Item, Done = Result<(), Self::Error>>;
    fn par_sink(self) -> Self::ParSink;
fn dist_sink(self) -> Self::DistSink; }

Associated Types

type Item: Data[src]

type Error: Error[src]

type ParSink: ParallelSink<Self::Item, Done = Result<(), Self::Error>>[src]

type DistSink: DistributedSink<Self::Item, Done = Result<(), Self::Error>>[src]

Required methods

fn par_sink(self) -> Self::ParSink[src]

fn dist_sink(self) -> Self::DistSink[src]

Implementors