Type Alias Result

Source
pub type Result<T, E = GraphOperationError> = Result<T, E>;
Expand description

Custom Result type with two generic parameters for user convenience

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value