Struct netscan_os::ProbeSetting
source · pub struct ProbeSetting {Show 13 fields
pub if_index: u32,
pub if_name: String,
pub src_mac: MacAddr,
pub dst_mac: MacAddr,
pub src_ip: IpAddr,
pub src_port: u16,
pub probe_target: ProbeTarget,
pub probe_types: Vec<ProbeType>,
pub timeout: Duration,
pub wait_time: Duration,
pub send_rate: Duration,
pub use_tun: bool,
pub loopback: bool,
}Expand description
Probe setting
Fields§
§if_index: u32Index of network interface
if_name: StringName of network interface
src_mac: MacAddrSource MAC Address
dst_mac: MacAddrDestination MAC Address
src_ip: IpAddrSource IP Address
src_port: u16Source port
probe_target: ProbeTargetProbe Target
probe_types: Vec<ProbeType>Probe Types
timeout: DurationTimeout setting
wait_time: DurationWait time after send task is finished
send_rate: DurationPacket send rate
use_tun: boolUse TUN interface
loopback: boolUse loopback interface
Trait Implementations§
source§impl Clone for ProbeSetting
impl Clone for ProbeSetting
source§fn clone(&self) -> ProbeSetting
fn clone(&self) -> ProbeSetting
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ProbeSetting
impl Send for ProbeSetting
impl Sync for ProbeSetting
impl Unpin for ProbeSetting
impl UnwindSafe for ProbeSetting
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