Returns information about the system in form of numbers.
struct NumInfo {
/* private fields */
}| Name | Description |
|---|---|
| new | Creates a new NumInfo. |
| Receiver | Name | Description |
|---|---|---|
&self | buffer_memory | |
&self | free_high | |
&self | free_memory | Returns the amount of free memory. |
&self | free_swap_memory | |
&self | load_average_fifteen | Returns the load average of the last fifteen minutes. |
&self | load_average_five | Returns the load average of the last five minutes. |
&self | load_average_one | Returns the load average of the last minute. |
&self | mem_unit | |
&self | processes | |
&self | shared_memory | |
&self | swap_memory | |
&self | total_high | |
&self | total_memory | Returns the total amount of memory. |
&mut self | update | Retrieves information from the system and stores it in the NumInfo. |
&self | uptime | Returns the time since the system was last booted. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |