#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
use e_utils::AnyResult;
use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct Hardware<T> {
pub Name: String,
pub Identifier: String,
#[serde(rename = "HardwareType")]
pub _HardwareType: String,
#[serde(skip)]
pub HardwareType: T,
pub Parent: String,
}
pub trait HardwareMonitor: Sized {
const CON_QUERY: &'static str;
const HW_QUERY: &'static str;
const SENSOR_QUERY: &'static str;
type HWType;
type SensorType;
fn new() -> AnyResult<Self>;
fn test(timeout: u64) -> AnyResult<()>;
}