pub struct TraceHeader {
pub backend: RecordingBackend,
pub values: ValueCapture,
pub entry: String,
pub args: Vec<String>,
}Expand description
What a trace declares about itself before its first event.
The entry and its arguments are here because a replay needs them and no
event carries them: cove replay starts the same entry with the same
arguments, and refuses a trace recorded from a different one. The backend
is here for the same reason read one step further: a replay wants to be
the run it replays, and which evaluator ran is part of what that run was.
Fields§
§backend: RecordingBackendWhich backend ran the program this trace recorded.
values: ValueCaptureHow much of each host call’s values the trace carries.
entry: StringThe qualified entry function the run started, such as
restricted.main.
args: Vec<String>The process arguments the entry was given.
Trait Implementations§
Source§impl Clone for TraceHeader
impl Clone for TraceHeader
Source§fn clone(&self) -> TraceHeader
fn clone(&self) -> TraceHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TraceHeader
impl RefUnwindSafe for TraceHeader
impl Send for TraceHeader
impl Sync for TraceHeader
impl Unpin for TraceHeader
impl UnsafeUnpin for TraceHeader
impl UnwindSafe for TraceHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more