Type Alias widgetui::widget::WidgetResult

source ·
pub type WidgetResult = Result<(), Box<dyn Error>>;
Expand description

The main result that a widget will always return.

Aliased Type§

enum WidgetResult {
    Ok(()),
    Err(Box<dyn Error>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value