Struct Host
pub struct Host {}Expand description
This structure exposes Linux-specific host information.
Implementations§
§impl Host
impl Host
pub fn sys_release() -> String
pub fn sys_release() -> String
Operating system release (e.g. 2.6.28)
pub fn sys_version() -> String
pub fn sys_version() -> String
Operating system version
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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