Type Alias Result

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

A result type that is infallible by default.

Most ferroid APIs are infallible. However, some fallible variants are enabled behind feature flags like std or base32.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value