Struct sentry::protocol::Thread [] [src]

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.

indicates a crashed thread

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

Trait Implementations

impl PartialEq<Thread> for Thread
[src]

[src]

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

[src]

This method tests for !=.

impl<'de> Deserialize<'de> for Thread where
    Thread: Default
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for Thread
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for Thread
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for Thread
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Thread
[src]

[src]

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

Auto Trait Implementations

impl Send for Thread

impl Sync for Thread