Struct feroxbuster::event_handlers::StatsHandle [−][src]
pub struct StatsHandle { pub data: Arc<Stats>, pub tx: UnboundedSender<Command>, }
Expand description
Container for statistics transmitter and Stats object
Fields
data: Arc<Stats>
Stats object used across modules to track statistics
tx: UnboundedSender<Command>
transmitter used to update data
Implementations
implementation of StatsHandle
Given an Arc-wrapped Stats and CommandSender, create a new StatsHandle
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StatsHandle
impl Send for StatsHandle
impl Sync for StatsHandle
impl Unpin for StatsHandle
impl !UnwindSafe for StatsHandle