Struct humthreads::ThreadStatus
source · [−]Expand description
Public view of a point in time status of a thread.
Fields
activity: Option<String>
Description of the activity currently in progress by the thread.
NOTE: threads are responsible for reporting their own activity.
name: String
Full name of the thread.
short_name: String
OS name of the thread.
This is called the short name because OS threads names usually have a limit.
Trait Implementations
sourceimpl Clone for ThreadStatus
impl Clone for ThreadStatus
sourcefn clone(&self) -> ThreadStatus
fn clone(&self) -> ThreadStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ThreadStatus
impl Debug for ThreadStatus
sourceimpl<'de> Deserialize<'de> for ThreadStatus
impl<'de> Deserialize<'de> for ThreadStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for ThreadStatus
impl Hash for ThreadStatus
sourceimpl PartialEq<ThreadStatus> for ThreadStatus
impl PartialEq<ThreadStatus> for ThreadStatus
sourcefn eq(&self, other: &ThreadStatus) -> bool
fn eq(&self, other: &ThreadStatus) -> bool
sourceimpl Serialize for ThreadStatus
impl Serialize for ThreadStatus
impl Eq for ThreadStatus
impl StructuralEq for ThreadStatus
impl StructuralPartialEq for ThreadStatus
Auto Trait Implementations
impl RefUnwindSafe for ThreadStatus
impl Send for ThreadStatus
impl Sync for ThreadStatus
impl Unpin for ThreadStatus
impl UnwindSafe for ThreadStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more