Returns information about the system in form of strings.
struct StrInfo {
/* private fields */
}| Name | Description |
|---|---|
| new | Creates a new StrInfo. |
| Receiver | Name | Description |
|---|---|---|
&self | domain_name | Returns the domain name of the system. |
&self | host_name | Returns the hostname of the system. |
&self | machine | Returns the machine. |
&self | release | Returns the kernel release of the system. |
&self | system_name | Returns the name of the system. |
&mut self | update | Retrieves information from the system and stores it in the object. |
&self | version | Returns the kernel version of the system. |
| 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. |