fixed comments
This commit is contained in:
@@ -7,19 +7,19 @@ use sysinfo::{Component, Components, Disk, Disks};
|
||||
use serde::Serialize;
|
||||
|
||||
|
||||
//! # Disk Hardware Module
|
||||
//!
|
||||
//! This module provides disk information collection for WatcherAgent, including total and per-disk statistics and temperature data.
|
||||
//!
|
||||
//! ## Responsibilities
|
||||
//! - **Disk Enumeration:** Lists all physical disks and their properties.
|
||||
//! - **Usage Calculation:** Computes total and per-disk usage, available space, and usage percentage.
|
||||
//! - **Temperature Monitoring:** Associates disk components with temperature sensors if available.
|
||||
//!
|
||||
//! ## Units
|
||||
//! - All sizes are in **bytes** unless otherwise noted.
|
||||
//! - Temperatures are in **degrees Celsius (°C)**.
|
||||
//!
|
||||
/// # Disk Hardware Module
|
||||
///
|
||||
/// This module provides disk information collection for WatcherAgent, including total and per-disk statistics and temperature data.
|
||||
///
|
||||
/// ## Responsibilities
|
||||
/// - **Disk Enumeration:** Lists all physical disks and their properties.
|
||||
/// - **Usage Calculation:** Computes total and per-disk usage, available space, and usage percentage.
|
||||
/// - **Temperature Monitoring:** Associates disk components with temperature sensors if available.
|
||||
///
|
||||
/// ## Units
|
||||
/// - All sizes are in **bytes** unless otherwise noted.
|
||||
/// - Temperatures are in **degrees Celsius (°C)**.
|
||||
///
|
||||
/// Summary of disk statistics for the system.
|
||||
///
|
||||
/// # Fields
|
||||
|
Reference in New Issue
Block a user