Skip to main content

PmResult

Type Alias PmResult 

Source
pub type PmResult<T> = Result<T, PmError>;
Expand description

Result type for power management operations

Aliased Type§

pub enum PmResult<T> {
    Ok(T),
    Err(PmError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PmError)

Contains the error value