Struct puffin::trace::Trace

source ·
pub struct Trace<M: Matcher> {
    pub descriptors: Vec<AgentDescriptor>,
    pub steps: Vec<Step<M>>,
    pub prior_traces: Vec<Trace<M>>,
}

Fields§

§descriptors: Vec<AgentDescriptor>§steps: Vec<Step<M>>§prior_traces: Vec<Trace<M>>

Implementations§

A Trace consists of several Steps. Each has either a OutputAction or an InputAction. Each Steps references an Agent by name. Furthermore, a trace also has a list of AgentDescriptors which act like a blueprint to spawn Agents with a corresponding server or client role and a specific TLs version. Essentially they are an Agent without a stream.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
The length
Returns true if it has no elements.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
Generate a name for this input, the user is responsible for making each name of testcase unique.
Write this input to the file
Load the content of this input from a file
An hook executed if the input is stored as Testcase
Mutate a given input
Post-process given the outcome of the execution
Mutate a given input
Post-process given the outcome of the execution
Mutate a given input
Post-process given the outcome of the execution
Mutate a given input
Post-process given the outcome of the execution
Mutate a given input
Post-process given the outcome of the execution
Mutate a given input
Post-process given the outcome of the execution
Mutate a given input
Post-process given the outcome of the execution
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.

Calls U::from(self).

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

Type indicating actions to be taken after the post-transformation input is executed
Transform the provided testcase into this type
Transform this instance back into the original input type
The Resulting [TupleList], of an [Prepend::prepend()] call, including the prepended entry.
Prepend a value to this tuple, returning a new tuple with prepended value.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
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.