pub struct TraceInitialization {
    pub program_name: String,
    pub program_version: String,
    pub lang_version: String,
    pub platform: String,
    pub time: Duration,
}
Expand description

Information relevant for initializing a trace.

Fields

program_name: String

The name (typically based off of argv) of the program initializing the trace (ex: hello.py world).

program_version: String

The version information of the functiontrace client talking to this server (ex: py-functiontrace 0.3.0).

lang_version: String

The version for the underlying language the program is running on (ex: Python 3.7.1).

platform: String

The general operating system platform the program is running on (ex: darwin).

time: Duration

An opaque system time that all other client-sent times will be relative to.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. 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.

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.