pub struct PortResult {
pub port: u16,
pub open: bool,
pub service: Option<String>,
pub error: Option<String>,
}Fields§
§port: u16§open: bool§service: Option<String>§error: Option<String>Populated when the probe failed for reasons other than a closed port (e.g. the scanner’s concurrency semaphore was closed). Omitted on normal open/closed results.
Trait Implementations§
Source§impl Clone for PortResult
impl Clone for PortResult
Source§fn clone(&self) -> PortResult
fn clone(&self) -> PortResult
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 moreSource§impl Debug for PortResult
impl Debug for PortResult
Auto Trait Implementations§
impl Freeze for PortResult
impl RefUnwindSafe for PortResult
impl Send for PortResult
impl Sync for PortResult
impl Unpin for PortResult
impl UnsafeUnpin for PortResult
impl UnwindSafe for PortResult
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