[][src]Struct humthreads::ThreadStatus

pub struct ThreadStatus {
    pub activity: Option<String>,
    pub name: String,
    pub short_name: String,
}

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 responsable 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

impl Clone for ThreadStatus[src]

impl Eq for ThreadStatus[src]

impl PartialEq<ThreadStatus> for ThreadStatus[src]

impl Debug for ThreadStatus[src]

impl Hash for ThreadStatus[src]

impl StructuralPartialEq for ThreadStatus[src]

impl StructuralEq for ThreadStatus[src]

impl Serialize for ThreadStatus[src]

impl<'de> Deserialize<'de> for ThreadStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]