Trait platform_info::Uname[][src]

pub trait Uname {
    fn sysname(&self) -> Cow<'_, str>;
fn nodename(&self) -> Cow<'_, str>;
fn release(&self) -> Cow<'_, str>;
fn version(&self) -> Cow<'_, str>;
fn machine(&self) -> Cow<'_, str>; }

Uname is meant for types that can provide information relevant to uname.

Required methods

fn sysname(&self) -> Cow<'_, str>[src]

The name of this implementation of the operating system.

fn nodename(&self) -> Cow<'_, str>[src]

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

fn release(&self) -> Cow<'_, str>[src]

The current release level of the operating system.

fn version(&self) -> Cow<'_, str>[src]

The current version level of the current release.

fn machine(&self) -> Cow<'_, str>[src]

The name of the current system's hardware.

Loading content...

Implementors

impl Uname for PlatformInfo[src]

Loading content...