Struct platform_info::PlatformInfo[][src]

pub struct PlatformInfo { /* fields omitted */ }
Expand description

PlatformInfo handles retrieving information for the current platform (a Unix-like operating in this case).

Implementations

Creates a new instance of PlatformInfo. This function should never fail.

Trait Implementations

The name of this implementation of the operating system.

The node name (network node hostname) of this machine.

The current release level of the operating system.

The current version level of the current release.

The name of the current system’s hardware.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.