Struct rushmap_core::option::HostScanOption
source · pub struct HostScanOption {Show 15 fields
pub interface_index: u32,
pub interface_name: String,
pub src_ip: IpAddr,
pub src_port: u16,
pub targets: Vec<TargetInfo>,
pub scan_type: HostScanType,
pub protocol: IpNextLevelProtocol,
pub concurrency: usize,
pub timeout: Duration,
pub wait_time: Duration,
pub send_rate: Duration,
pub async_scan: bool,
pub list_file_path: String,
pub save_file_path: String,
pub json_output: bool,
}
Fields§
§interface_index: u32
§interface_name: String
§src_ip: IpAddr
§src_port: u16
§targets: Vec<TargetInfo>
§scan_type: HostScanType
§protocol: IpNextLevelProtocol
§concurrency: usize
§timeout: Duration
§wait_time: Duration
§send_rate: Duration
§async_scan: bool
§list_file_path: String
§save_file_path: String
§json_output: bool
Implementations§
Trait Implementations§
source§impl Clone for HostScanOption
impl Clone for HostScanOption
source§fn clone(&self) -> HostScanOption
fn clone(&self) -> HostScanOption
Returns a copy of the value. Read more
1.0.0 · 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 HostScanOption
impl Debug for HostScanOption
source§impl<'de> Deserialize<'de> for HostScanOption
impl<'de> Deserialize<'de> for HostScanOption
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HostScanOption
impl Send for HostScanOption
impl Sync for HostScanOption
impl Unpin for HostScanOption
impl UnwindSafe for HostScanOption
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