pub struct ProbeResult {
pub ip_addr: IpAddr,
pub icmp_echo_result: Option<IcmpEchoResult>,
pub icmp_timestamp_result: Option<IcmpTimestampResult>,
pub icmp_address_mask_result: Option<IcmpAddressMaskResult>,
pub icmp_information_result: Option<IcmpInformationResult>,
pub icmp_unreachable_ip_result: Option<IcmpUnreachableIpResult>,
pub tcp_syn_ack_result: Option<TcpSynAckResult>,
pub tcp_rst_ack_result: Option<TcpRstAckResult>,
pub tcp_ecn_result: Option<TcpEcnResult>,
}
Fields§
§ip_addr: IpAddr
§icmp_echo_result: Option<IcmpEchoResult>
§icmp_timestamp_result: Option<IcmpTimestampResult>
§icmp_address_mask_result: Option<IcmpAddressMaskResult>
§icmp_information_result: Option<IcmpInformationResult>
§icmp_unreachable_ip_result: Option<IcmpUnreachableIpResult>
§tcp_syn_ack_result: Option<TcpSynAckResult>
§tcp_rst_ack_result: Option<TcpRstAckResult>
§tcp_ecn_result: Option<TcpEcnResult>
Implementations§
Source§impl ProbeResult
impl ProbeResult
pub fn new(ip_addr: IpAddr) -> ProbeResult
pub fn new_with_types(ip_addr: IpAddr, types: Vec<ProbeType>) -> ProbeResult
Trait Implementations§
Source§impl Clone for ProbeResult
impl Clone for ProbeResult
Source§fn clone(&self) -> ProbeResult
fn clone(&self) -> ProbeResult
Returns a duplicate 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 Freeze for ProbeResult
impl RefUnwindSafe for ProbeResult
impl Send for ProbeResult
impl Sync for ProbeResult
impl Unpin for ProbeResult
impl UnwindSafe for ProbeResult
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