Type Alias HtmlResult

Source
pub type HtmlResult = AppResult<Html<String>>;
Expand description

If you are returning HTML, use this.

Aliased Type§

enum HtmlResult {
    Ok(Html<String>),
    Err(AppError),
}

Variants§

§1.0.0

Ok(Html<String>)

Contains the success value

§1.0.0

Err(AppError)

Contains the error value