pub struct PhaseParts {Show 24 fields
pub kind: ScanKind,
pub started_at: SystemTime,
pub elapsed: Duration,
pub privilege: Option<Privilege>,
pub targets: TargetScope,
pub settings: ScanSettings,
pub failures: Vec<ScannerFailure>,
pub refusals: Vec<Refusal>,
pub unroutable: Vec<IpAddr>,
pub refused_by_route: Vec<IpAddr>,
pub timed_out: Vec<IpAddr>,
pub icmp_rate_limited: Vec<IpAddr>,
pub reached_by_connect: Vec<IpRange>,
pub undecided: Vec<IpRange>,
pub liveness_skipped: Option<LivenessSkip>,
pub silent: Vec<IpRange>,
pub stopped: Option<StopReason>,
pub passes_cut: Vec<Pass>,
pub unreached: u128,
pub unheard_probes: u128,
pub probes: Vec<ProbeStats>,
pub origin: Option<PhaseOrigin>,
pub attachments: Vec<Attachment>,
pub open: bool,
}Expand description
Fields§
§kind: ScanKindWhich entry point the phase recorded.
started_at: SystemTimeWhen it began.
elapsed: DurationHow long it ran.
privilege: Option<Privilege>Which sockets the phase had, or None where this engine did not measure
it and cannot say.
targets: TargetScopeWhat it was asked to cover, and what it was forbidden.
settings: ScanSettingsThe settings it ran under.
failures: Vec<ScannerFailure>The strategies that could not do their job.
refusals: Vec<Refusal>Ground the phase declined before sending anything.
unroutable: Vec<IpAddr>Addresses this host could not reach, so no probe was sent to them.
refused_by_route: Vec<IpAddr>The addresses among unroutable that this host’s routing table
refuses. See ScanPhase::refused_by_route.
timed_out: Vec<IpAddr>Addresses whose per-host budget ran out before the phase finished with them.
icmp_rate_limited: Vec<IpAddr>Addresses whose ICMP errors the phase found rate-limited. See
ScanPhase::icmp_rate_limited.
reached_by_connect: Vec<IpRange>Addresses a raw phase reached by TCP connect. See
ScanPhase::reached_by_connect.
undecided: Vec<IpRange>Addresses in scope the phase reached no verdict on. See
ScanPhase::undecided.
liveness_skipped: Option<LivenessSkip>Why a port phase ran with no liveness pass in front of it. See
ScanPhase::liveness_skipped.
silent: Vec<IpRange>Addresses a port phase standing in for its liveness pass asked on every
port and heard nothing from. See ScanPhase::silent.
stopped: Option<StopReason>Why the scan was stopped while the phase was running, or None. See
ScanPhase::stopped.
passes_cut: Vec<Pass>The passes over what the probes found that a stop skipped or cut
short. See ScanPhase::passes_cut.
unreached: u128How many of a port phase’s targets it never asked and holds on no
host. See ScanPhase::unreached.
unheard_probes: u128How many of a port phase’s targets it asked at the addresses it lists
no host at. See ScanPhase::unheard_probes.
probes: Vec<ProbeStats>What each strategy recorded about its own run.
origin: Option<PhaseOrigin>Which document the phase came from, for one folded in from elsewhere.
attachments: Vec<Attachment>Which switch ports the machine running the phase was plugged into.
open: boolWhether this is the phase as it stood before it closed. See
ScanPhase::is_open.
Trait Implementations§
Source§impl Clone for PhaseParts
impl Clone for PhaseParts
Auto Trait Implementations§
impl Freeze for PhaseParts
impl RefUnwindSafe for PhaseParts
impl Send for PhaseParts
impl Sync for PhaseParts
impl Unpin for PhaseParts
impl UnsafeUnpin for PhaseParts
impl UnwindSafe for PhaseParts
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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