Struct netscan_os::ProbeResult
source · 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 icmp_unreachable_data_result: Option<IcmpUnreachableOriginalDataResult>,
pub tcp_syn_ack_result: Option<TcpSynAckResult>,
pub tcp_rst_ack_result: Option<TcpRstAckResult>,
pub tcp_ecn_result: Option<TcpEcnResult>,
pub tcp_header_result: Option<TcpHeaderResult>,
pub tcp_fingerprint: TcpFingerprint,
}Fields
ip_addr: IpAddricmp_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>icmp_unreachable_data_result: Option<IcmpUnreachableOriginalDataResult>tcp_syn_ack_result: Option<TcpSynAckResult>tcp_rst_ack_result: Option<TcpRstAckResult>tcp_ecn_result: Option<TcpEcnResult>tcp_header_result: Option<TcpHeaderResult>tcp_fingerprint: TcpFingerprintImplementations
sourceimpl ProbeResult
impl ProbeResult
pub fn new(ip_addr: IpAddr) -> ProbeResult
pub fn new_with_types(ip_addr: IpAddr, types: Vec<ProbeType>) -> ProbeResult
Trait Implementations
sourceimpl Clone for ProbeResult
impl Clone for ProbeResult
sourcefn clone(&self) -> ProbeResult
fn clone(&self) -> ProbeResult
Returns a copy of the value. Read more
1.0.0 · sourcefn 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 ProbeResult
impl Send for ProbeResult
impl Sync for ProbeResult
impl Unpin for ProbeResult
impl UnwindSafe for ProbeResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more