pub struct TraceOptions { /* fields omitted */ }
Options controlling tracing.
Returns a new TraceOptions
with default settings.
If set, the threads of the process will be traced in a consistent snapshot.
A snapshot-mode trace ensures a consistent view of all threads, but requires that all
threads be paused for the entire duration of the trace.
Defaults to false
.
Returns stack traces of all of the threads in the calling process.
The provided Command
should be configured to spawn a process which will call the child
function. It must not use standard input or standard output, but standard error will be
inherited and can be used. The spawned process must "directly" call child
rather than
spawning another process to call it. That is, the parent of the process that calls child
is
the one that will be traced.
Returns the "default value" for a type. Read more
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more