Enum sysinfo::ThreadKind
source · pub enum ThreadKind {
Kernel,
Userland,
}
Expand description
Enum describing the different kind of threads.
Variants§
Trait Implementations§
source§impl Clone for ThreadKind
impl Clone for ThreadKind
source§fn clone(&self) -> ThreadKind
fn clone(&self) -> ThreadKind
Returns a copy 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 ThreadKind
impl Debug for ThreadKind
source§impl PartialEq for ThreadKind
impl PartialEq for ThreadKind
source§fn eq(&self, other: &ThreadKind) -> bool
fn eq(&self, other: &ThreadKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ThreadKind
impl Eq for ThreadKind
impl StructuralPartialEq for ThreadKind
Auto Trait Implementations§
impl Freeze for ThreadKind
impl RefUnwindSafe for ThreadKind
impl Send for ThreadKind
impl Sync for ThreadKind
impl Unpin for ThreadKind
impl UnwindSafe for ThreadKind
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