Type Alias Result

Source
pub type Result<T = ()> = Result<T, CoreError>;
Expand description

a type alias for a Result type pre-configured with the [Error] type

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CoreError)

Contains the error value