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

Type Alias SuspensionResult

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

A Suspension Result.

Aliased Type§

enum SuspensionResult<T> {
    Ok(T),
    Err(Suspension),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Suspension)

Contains the error value