Resource usage.
struct ResourceUsage {
/* private fields */
}| Receiver | Name | Description |
|---|---|---|
&self | fs_input | Returns the number of filesystem input events. |
&self | fs_output | Returns the number of filesystem output events. |
&self | involuntary_context_switches | Returns the number of involuntary context switches. |
&self | io_page_faults | Returns the number of page faults that required I/O activity. |
&self | kernel_time | Returns the CPU time used in kernel space. |
&self | max_mem | Returns the maximum amount of used memory in RAM. |
&self | no_io_page_faults | Returns the number of page faults that did not require I/O activity. |
&self | user_time | Returns the CPU time used in user space. |
&self | voluntary_context_switches | Returns the number of voluntary context switches. |
| 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. |