Struct feroxbuster::scan_manager::FeroxScan[][src]

pub struct FeroxScan { /* fields omitted */ }
Expand description

Struct to hold scan-related state

The purpose of this container is to open up the pathway to aborting currently running tasks and serialization of all scan state into a state file in order to resume scans that were cut short

Implementations

Implementation of FeroxScan

Stop a currently running scan

getter for url

small wrapper to set the JoinHandle

small wrapper to set ScanStatus

Simple helper get a progress bar

Given a URL and ProgressBar, create a new FeroxScan, wrap it in an Arc and return it

Mark the scan as complete and stop the scan’s progress bar

small wrapper to inspect ScanType and ScanStatus to see if a Directory scan is running or in the queue to be run

small wrapper to inspect ScanStatus and see if it’s Complete

await a task’s completion, similar to a thread’s join; perform necessary bookkeeping

simple wrapper to call the appropriate getter based on the given PolicyTrigger

return the number of requests per second performed by this scan’s scanner

return the number of requests performed by this scan’s scanner

Trait Implementations

Formats the value using the given formatter. Read more

Default implementation for FeroxScan

Create a default FeroxScan, populates ID with a new UUID

Deserialize implementation for FeroxScan

Deserialize a FeroxScan from a serde_json::Value

Display implementation

Formats the value using the given formatter. Read more

PartialEq implementation; uses FeroxScan.id for comparison

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize implementation for FeroxScan

Function that handles serialization of a FeroxScan

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.