Trait Zip3

Source
pub trait Zip3<T1> {
    // Required method
    fn zip3<T2, T3, T4>(
        self,
        other1: Result<T2, CError>,
        other2: Result<T3, CError>,
        other3: Result<T4, CError>,
    ) -> Result<(T1, T2, T3, T4), CError>;
}

Required Methods§

Source

fn zip3<T2, T3, T4>( self, other1: Result<T2, CError>, other2: Result<T3, CError>, other3: Result<T4, CError>, ) -> Result<(T1, T2, T3, T4), CError>

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.

Implementations on Foreign Types§

Source§

impl<T1> Zip3<T1> for Result<T1, CError>

Source§

fn zip3<T2, T3, T4>( self, other1: Result<T2, CError>, other2: Result<T3, CError>, other3: Result<T4, CError>, ) -> Result<(T1, T2, T3, T4), CError>

Implementors§