Trait cluuname::UtsName
[−]
[src]
pub trait UtsName: Hash + HashVersion + Display + Debug + Hash + PartialEq + Eq + PartialOrd + Ord + Clone { fn as_sysname(&self) -> &CStr; fn as_nodename(&self) -> &CStr; fn as_release(&self) -> &CStr; fn as_version(&self) -> &CStr; fn as_machine(&self) -> &CStr; fn uname_hash(&self) -> u64 { ... } fn version_hash(&self) -> u64 { ... } }
Basic uname trait
Required Methods
fn as_sysname(&self) -> &CStr
Get sysname for this structure.
fn as_nodename(&self) -> &CStr
Get nodename for this structure.
fn as_release(&self) -> &CStr
Get release for this structure.
fn as_version(&self) -> &CStr
Get version for this structure.
fn as_machine(&self) -> &CStr
Get machine for this structure.
Provided Methods
fn uname_hash(&self) -> u64
fn version_hash(&self) -> u64
Implementors
impl UtsName for UtsNameBuf
impl<'a> UtsName for UtsNameSlice<'a>