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§
type Item
type Error: Error
type ParSink: ParallelSink<Self::Item>
type DistSink: DistributedSink<Self::Item>
Required Methods§
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.