This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

Type Alias yew::html::HtmlResult

source ·
pub type HtmlResult = RenderResult<Html>;
Expand description

An enhanced type of Html returned in suspendible function components.

Aliased Type§

enum HtmlResult {
    Ok(VNode),
    Err(RenderError),
}

Variants§

§1.0.0

Ok(VNode)

Contains the success value

§1.0.0

Err(RenderError)

Contains the error value

Trait Implementations§

source§

impl IntoHtmlResult for HtmlResult

source§

fn into_html_result(self) -> HtmlResult

Performs the conversion.