[][src]Struct uapi::UtsName

pub struct UtsName { /* fields omitted */ }

Wrapper for libc::utsname

Implementations

impl UtsName[src]

pub fn sysname(&self) -> &CStr[src]

Returns self.sysname as a CStr

pub fn nodename(&self) -> &CStr[src]

Returns self.nodename as a CStr

pub fn release(&self) -> &CStr[src]

Returns self.release as a CStr

pub fn version(&self) -> &CStr[src]

Returns self.version as a CStr

pub fn machine(&self) -> &CStr[src]

Returns self.machine as a CStr

Trait Implementations

impl Deref for UtsName[src]

type Target = utsname

The resulting type after dereferencing.

Auto Trait Implementations

impl RefUnwindSafe for UtsName

impl Send for UtsName

impl Sync for UtsName

impl Unpin for UtsName

impl UnwindSafe for UtsName

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.