pub struct KernelVersion { /* private fields */ }
Implementations§
Source§impl KernelVersion
impl KernelVersion
pub fn current() -> Result<KernelVersion>
Trait Implementations§
Source§impl Clone for KernelVersion
impl Clone for KernelVersion
Source§fn clone(&self) -> KernelVersion
fn clone(&self) -> KernelVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KernelVersion
impl Debug for KernelVersion
Source§impl Ord for KernelVersion
impl Ord for KernelVersion
Source§fn cmp(&self, other: &KernelVersion) -> Ordering
fn cmp(&self, other: &KernelVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KernelVersion
impl PartialEq for KernelVersion
Source§impl PartialOrd for KernelVersion
impl PartialOrd for KernelVersion
Source§impl TryFrom<&str> for KernelVersion
impl TryFrom<&str> for KernelVersion
impl Copy for KernelVersion
impl Eq for KernelVersion
impl StructuralPartialEq for KernelVersion
Auto Trait Implementations§
impl Freeze for KernelVersion
impl RefUnwindSafe for KernelVersion
impl Send for KernelVersion
impl Sync for KernelVersion
impl Unpin for KernelVersion
impl UnwindSafe for KernelVersion
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