pub struct ClientStats {
    pub corpus_size: u64,
    pub executions: u64,
    pub objective_size: u64,
    pub last_window_time: Duration,
    pub user_monitor: HashMap<String, UserStats>,
}
Expand description

A simple struct to keep track of client monitor

Fields

corpus_size: u64

The corpus size for this client

executions: u64

The total executions for this client

objective_size: u64

The size of the objectives corpus for this client

last_window_time: Duration

The last time we got this information

user_monitor: HashMap<String, UserStats>

User-defined monitor

Implementations

We got a new information about executions for this client, insert them.

We got a new information about corpus size for this client, insert them.

We got a new information about objective corpus size for this client, insert them.

Get the calculated executions per second for this client

Update the user-defined stat with name and value

Get a user-defined stat using the name

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

Returns the “default value” for a type. 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 Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

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

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.