Struct rushmap_core::option::TracerouteOption
source · pub struct TracerouteOption {
pub interface_index: u32,
pub interface_name: String,
pub src_ip: IpAddr,
pub src_port: u16,
pub target: TargetInfo,
pub protocol: IpNextLevelProtocol,
pub max_hop: u8,
pub timeout: Duration,
pub wait_time: Duration,
pub send_rate: Duration,
pub save_file_path: String,
pub json_output: bool,
}
Fields§
§interface_index: u32
§interface_name: String
§src_ip: IpAddr
§src_port: u16
§target: TargetInfo
§protocol: IpNextLevelProtocol
§max_hop: u8
§timeout: Duration
§wait_time: Duration
§send_rate: Duration
§save_file_path: String
§json_output: bool
Implementations§
Trait Implementations§
source§impl Clone for TracerouteOption
impl Clone for TracerouteOption
source§fn clone(&self) -> TracerouteOption
fn clone(&self) -> TracerouteOption
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 TracerouteOption
impl Debug for TracerouteOption
source§impl<'de> Deserialize<'de> for TracerouteOption
impl<'de> Deserialize<'de> for TracerouteOption
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 TracerouteOption
impl Send for TracerouteOption
impl Sync for TracerouteOption
impl Unpin for TracerouteOption
impl UnwindSafe for TracerouteOption
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