Destination

Trait Destination 

Source
pub trait Destination: Clone + Debug {
    type Item;
    type Error: Error;
    type ParSink: ParallelSink<Self::Item>;
    type DistSink: DistributedSink<Self::Item>;

    // Required methods
    fn par_sink(self) -> Self::ParSink;
    fn dist_sink(self) -> Self::DistSink;
}

Required Associated Types§

Required Methods§

Source

fn par_sink(self) -> Self::ParSink

Source

fn dist_sink(self) -> Self::DistSink

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§