pub struct Uname {
pub sysname: String,
pub nodename: String,
pub release: String,
pub version: String,
pub machine: String,
pub domainname: String,
}
Expand description
Safe implementation of sys/utsname.h
header.
Fields§
§sysname: String
§nodename: String
§release: String
§version: String
§machine: String
§domainname: String
Implementations§
Auto Trait Implementations§
impl Freeze for Uname
impl RefUnwindSafe for Uname
impl Send for Uname
impl Sync for Uname
impl Unpin for Uname
impl UnwindSafe for Uname
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more