Type Alias Result

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

A Result type specialized for DecrustError

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Trait Implementations§

Source§

impl<E> InfallibleResultExt<E> for Result<Infallible, E>

Source§

fn extract_err(self) -> E

Extract the error value from a Result that is known to always be Err Read more