Struct feroxbuster::event_handlers::ScanHandler[][src]

pub struct ScanHandler { /* fields omitted */ }

event handler for updating a single data structure of all FeroxScans

Implementations

impl ScanHandler[src]

implementation of event handler for filters

pub fn new(
    data: Arc<FeroxScans>,
    handles: Arc<Handles>,
    max_depth: usize,
    receiver: UnboundedReceiver<Command>
) -> Self
[src]

create new event handler

pub fn initialize(handles: Arc<Handles>) -> (JoinHandle<Result<()>>, ScanHandle)[src]

Initialize new FeroxScans and the sc side of an mpsc channel that is responsible for updates to the aforementioned object.

pub async fn start(&mut self) -> Result<()>[src]

Start a single consumer task (sc side of mpsc)

The consumer simply receives Command and acts accordingly

pub fn get_wordlist(&self) -> Result<Arc<HashSet<String>>>[src]

Helper to easily get the (locked) underlying wordlist

Trait Implementations

impl Debug for ScanHandler[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]