pub enum ScanType {
TcpSynScan,
TcpConnectScan,
IcmpPingScan,
TcpPingScan,
UdpPingScan,
}Expand description
Scan Type
Variants§
TcpSynScan
Default fast port scan type.
Send TCP packet with SYN flag to the target ports and check response.
TcpConnectScan
Attempt TCP connection and check port status.
Slow but can be run without administrator privileges.
IcmpPingScan
Default host scan type.
Send ICMP echo request and check response.
TcpPingScan
Perform host scan for a specific service.
Send TCP packets with SYN flag to a specific port and check response.
UdpPingScan
Send udp packets;
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanType
impl RefUnwindSafe for ScanType
impl Send for ScanType
impl Sync for ScanType
impl Unpin for ScanType
impl UnwindSafe for ScanType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more