pub struct Uname(_);
Expand description
struct utsname
—Return type for uname
.
Implementations
sourceimpl Uname
impl Uname
sourcepub fn nodename(&self) -> &CStr
pub fn nodename(&self) -> &CStr
nodename
—Name with vague meaning
This is intended to be a network name, however it’s unable to convey information about hosts that have multiple names, or any information about where the names are visible.
sourcepub fn domainname(&self) -> &CStr
pub fn domainname(&self) -> &CStr
domainname
—NIS or YP domain identifier
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Uname
impl Send for Uname
impl Sync for Uname
impl Unpin for Uname
impl UnwindSafe for Uname
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more