Skip to main content

OdpmDeviceGetPowerWattsResult

Type Alias OdpmDeviceGetPowerWattsResult 

Source
pub type OdpmDeviceGetPowerWattsResult = Result<Vec<PowerReading>, i32>;

Aliased Type§

pub enum OdpmDeviceGetPowerWattsResult {
    Ok(Vec<PowerReading>),
    Err(i32),
}

Variants§

§1.0.0

Ok(Vec<PowerReading>)

Contains the success value

§1.0.0

Err(i32)

Contains the error value