HassResult

Type Alias HassResult 

Source
pub type HassResult<T> = Result<T, HassError>;

Aliased Type§

pub enum HassResult<T> {
    Ok(T),
    Err(HassError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HassError)

Contains the error value