pub type PmResult<T> = Result<T, PmError>;
Result type for power management operations
pub enum PmResult<T> { Ok(T), Err(PmError), }
Contains the success value
Contains the error value