Type Alias Result

Source
pub type Result<T> = Result<T, CError>;

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(CError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CError)

Contains the error value

Trait Implementations§

Source§

impl From<CResult<Nothing>> for Result<()>

Source§

fn from(result: CResult<Nothing>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<CResult<T>> for Result<T>

Source§

fn from(result: CResult<T>) -> Self

Converts to this type from the input type.
Source§

impl<T1> Zip1<T1> for Result<T1>

Source§

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

Source§

impl<T1> Zip2<T1> for Result<T1>

Source§

fn zip2<T2, T3>( self, other1: Result<T2>, other2: Result<T3>, ) -> Result<(T1, T2, T3)>

Source§

impl<T1> Zip3<T1> for Result<T1>

Source§

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