Type Alias Result

Source
pub type Result<T = String> = Result<T>;
Expand description

Result type used throughout the crate.

Type alias for anyhow::Result<T> with String as default success type.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value