Type Alias pkgcraft::Result

source ·
pub type Result<T> = Result<T, Error>;
Expand description

A Result alias where the Err case is pkgcraft::Error.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<T: IntoOwned> IntoOwned for Result<T>

§

type Owned = Result<<T as IntoOwned>::Owned, Error>

source§

fn into_owned(self) -> Self::Owned