[go: up one dir, main page]

UResult

Type Alias UResult 

Source
pub type UResult<T> = Result<T, Box<dyn UError>>;
Expand description

Result type that should be returned by all utils.

Aliased Type§

pub enum UResult<T> {
    Ok(T),
    Err(Box<dyn UError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn UError>)

Contains the error value