Struct goose::metrics::GooseRawTask [−][src]
pub struct GooseRawTask { pub elapsed: u64, pub taskset_index: usize, pub task_index: usize, pub name: String, pub run_time: u64, pub success: bool, pub user: usize, }
Expand description
The per-task metrics collected each time a task is invoked.
Fields
elapsed: u64
How many milliseconds the load test has been running.
taskset_index: usize
An index into GooseAttack.task_sets, indicating which task set this is.
task_index: usize
An index into GooseTaskSet.task, indicating which task this is.
name: String
The optional name of the task.
run_time: u64
How long task ran.
success: bool
Whether or not the request was successful.
user: usize
Which GooseUser thread processed the request.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GooseRawTask
impl Send for GooseRawTask
impl Sync for GooseRawTask
impl Unpin for GooseRawTask
impl UnwindSafe for GooseRawTask
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V