Struct actix_tools::sentry::sentry_client::protocol::Thread[]

pub struct Thread {
    pub id: Option<ThreadId>,
    pub name: Option<String>,
    pub stacktrace: Option<Stacktrace>,
    pub raw_stacktrace: Option<Stacktrace>,
    pub crashed: bool,
    pub current: bool,
}

Represents a single thread.

Fields

The optional ID of the thread (usually an integer)

The optional name of the thread.

If the thread suspended or crashed a stacktrace can be attached here.

Optional raw stacktrace.

True if this is the crashed thread.

Indicates that the thread was not suspended when the event was created.

Trait Implementations

impl Serialize for Thread

Serialize this value into the given Serde serializer. Read more

impl Clone for Thread

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Thread

Returns the "default value" for a type. Read more

impl Debug for Thread

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Thread where
    Thread: Default

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<Thread> for Thread

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Thread

impl Sync for Thread