Struct powercap::PowerCap[][src]

pub struct PowerCap {
    pub intel_rapl: IntelRapl,
}
Expand description

PowerCap folder representation.

Fields

intel_rapl: IntelRapl

Implementations

Returns a PowerCap instance using the default powercap folder.

Trait Implementations

Formats the value using the given formatter. Read more

Creates a PowerCap instance using the speficied powercap path.

The type returned in the event of a conversion error.

Creates a PowerCap instance using the speficied powercap path.

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.