Type Alias PermutationResult

Source
pub type PermutationResult<T> = Result<T, PermutationError>;
Expand description

A permutation result, which is simply an alias for any type that could return a permutation error.

Aliased Type§

pub enum PermutationResult<T> {
    Ok(T),
    Err(PermutationError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PermutationError)

Contains the error value