Trait Zip1

Source
pub trait Zip1<T1> {
    // Required method
    fn zip<T2>(self, other: Result<T2, CError>) -> Result<(T1, T2), CError>;
}

Required Methods§

Source

fn zip<T2>(self, other: Result<T2, CError>) -> Result<(T1, T2), 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> Zip1<T1> for Result<T1, CError>

Source§

fn zip<T2>(self, other: Result<T2, CError>) -> Result<(T1, T2), CError>

Implementors§