html_generator::error

Type Alias Result

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

Type alias for a result using the HtmlError error type.

This type alias makes it more convenient to work with Results throughout the library, reducing boilerplate and improving readability.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(HtmlError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HtmlError)

Contains the error value