[][src]Struct nmap_analyze::nmap::Host

pub struct Host {
    pub starttime: usize,
    pub endtime: usize,
    pub status: HostStatus,
    pub address: Address,
    pub hostnames: Vec<HostName>,
    pub ports: Vec<Port>,
    pub extra_ports: Option<Vec<ExtraPorts>>,
}

Fields

starttime: usizeendtime: usizestatus: HostStatusaddress: Address

A host may have multiple address. For example, if the host is part of the same broadcast domain, i.e., on the same LAN, the MAC address is saved as well. Since we currently only scan remote targets, we ignore this special case for now.

hostnames: Vec<HostName>ports: Vec<Port>extra_ports: Option<Vec<ExtraPorts>>

Trait Implementations

impl SanityCheck for Host[src]

type Error = Error

impl Debug for Host[src]

Auto Trait Implementations

impl Send for Host

impl Sync for Host

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T