Skip to main content

DeviceGetPowerWattsResult

Type Alias DeviceGetPowerWattsResult 

Source
pub type DeviceGetPowerWattsResult = Result<PowerReading, i32>;

Aliased Type§

pub enum DeviceGetPowerWattsResult {
    Ok(PowerReading),
    Err(i32),
}

Variants§

§1.0.0

Ok(PowerReading)

Contains the success value

§1.0.0

Err(i32)

Contains the error value