pub struct ArpScanner {
pub targets: String,
pub timeout_secs: u64,
pub concurrency: usize,
}Fields§
§targets: String§timeout_secs: u64§concurrency: usizeImplementations§
Source§impl ArpScanner
impl ArpScanner
pub fn build_info() -> ModuleInfo
Trait Implementations§
Source§impl Clone for ArpScanner
impl Clone for ArpScanner
Source§fn clone(&self) -> ArpScanner
fn clone(&self) -> ArpScanner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArpScanner
impl Debug for ArpScanner
Source§impl Default for ArpScanner
impl Default for ArpScanner
Source§fn default() -> ArpScanner
fn default() -> ArpScanner
Returns the “default value” for a type. Read more
Source§impl Module for ArpScanner
impl Module for ArpScanner
fn options_json(&self) -> Value
fn set_option(&mut self, name: &str, value: &str) -> Result<(), ModuleError>
fn validate(&self) -> Result<(), ModuleError>
fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn dry_run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dry_run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Preview the module’s output without side effects (no network I/O).
Used by the executor to enforce DenyPayload rules pre-execution.
Auto Trait Implementations§
impl Freeze for ArpScanner
impl RefUnwindSafe for ArpScanner
impl Send for ArpScanner
impl Sync for ArpScanner
impl Unpin for ArpScanner
impl UnsafeUnpin for ArpScanner
impl UnwindSafe for ArpScanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more