Struct feroxbuster::statistics::Stats [−][src]
pub struct Stats { /* fields omitted */ }
Expand description
Data collection of statistics related to a scan
Implementations
implementation of statistics data collection struct
Small wrapper for default to set kind
to “statistics” and total_runtime
to have at least
one value
public getter for expected_per_scan
public getter for resources_discovered
public getter for status_403s
public getter for status_429s
public getter for total_expected
public getter for initial_targets
increment requests
field by one
save an instance of Stats
to disk after updating the total runtime for the scan
Inspect the given StatError
and increment the appropriate fields
Implies incrementing: - requests - errors
Inspect the given StatusCode
and increment the appropriate fields
Implies incrementing: - requests - appropriate status_* codes - errors (when code is [45]xx)
Update a Stats
field of type f64
subtract a value from the given field
Update a Stats
field of type usize
Merge a given Stats
object from a json entry written to disk when handling a Ctrl+c
This is only ever called when resuming a scan from disk
Trait Implementations
Deserialize implementation for Stats
Deserialize a Stats object from a serde_json::Value
Auto Trait Implementations
impl RefUnwindSafe for Stats
impl UnwindSafe for Stats