pub struct utsname {
pub sysname: [i8; 65],
pub nodename: [i8; 65],
pub release: [i8; 65],
pub version: [i8; 65],
pub machine: [i8; 65],
pub domainname: [i8; 65],
}
Fields
sysname: [i8; 65]
nodename: [i8; 65]
release: [i8; 65]
version: [i8; 65]
machine: [i8; 65]
domainname: [i8; 65]
Trait Implementations
impl Clone for utsname
impl Clone for utsname
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for utsname
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more