Trait Merge

Source
pub trait Merge<In>:
    Sized
    + Clone
    + Send
    + Sync
    + 'static {
    type Out: Send;

    // Required method
    fn merge(&self, input: Vec<Result<In>>) -> Result<Self::Out>;
}
Expand description

A technique for merging responses into a single result (with type Out).

Required Associated Types§

Required Methods§

Source

fn merge(&self, input: Vec<Result<In>>) -> Result<Self::Out>

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§