pub struct ThreadFlow {
    pub id: Option<String>,
    pub immutable_state: Option<HashMap<String, MultiformatMessageString>>,
    pub initial_state: Option<HashMap<String, MultiformatMessageString>>,
    pub locations: Vec<ThreadFlowLocation>,
    pub message: Option<Message>,
    pub properties: Option<PropertyBag>,
}
Expand description

Describes a sequence of code locations that specify a path through a single thread of execution such as an operating system or fiber.

Fields

id: Option<String>

An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.

immutable_state: Option<HashMap<String, MultiformatMessageString>>

Values of relevant expressions at the start of the thread flow that remain constant.

initial_state: Option<HashMap<String, MultiformatMessageString>>

Values of relevant expressions at the start of the thread flow that may change during thread flow execution.

locations: Vec<ThreadFlowLocation>

A temporally ordered array of ‘threadFlowLocation’ objects, each of which describes a location visited by the tool while producing the result.

message: Option<Message>

A message relevant to the thread flow.

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the thread flow.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more