Miniserde refactor with custom error impls #11
|
@ -6,13 +6,9 @@ use probes::ProbeError;
|
|||
#[derive(Debug)]
|
||||
pub enum StatError {
|
||||
ReadCpuStat { source: ProbeError },
|
||||
|
||||
ReadDiskUsage { source: ProbeError },
|
||||
|
||||
ReadLoadAvg { source: ProbeError },
|
||||
|
||||
ReadMemStat { source: ProbeError },
|
||||
|
||||
ReadUptime { source: io::Error },
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue