pub struct ProbeTarget {
pub ip_addr: IpAddr,
pub open_tcp_port: u16,
pub closed_tcp_port: u16,
pub open_udp_port: u16,
pub closed_udp_port: u16,
}
Expand description
Target host and required port information
Fields§
§ip_addr: IpAddr
§open_tcp_port: u16
§closed_tcp_port: u16
§open_udp_port: u16
§closed_udp_port: u16
Implementations§
Source§impl ProbeTarget
impl ProbeTarget
Trait Implementations§
Source§impl Clone for ProbeTarget
impl Clone for ProbeTarget
Source§fn clone(&self) -> ProbeTarget
fn clone(&self) -> ProbeTarget
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 ProbeTarget
impl RefUnwindSafe for ProbeTarget
impl Send for ProbeTarget
impl Sync for ProbeTarget
impl Unpin for ProbeTarget
impl UnwindSafe for ProbeTarget
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