#[non_exhaustive]pub enum ServiceChange {
Identified(Service),
Unidentified(Service),
Name(Change<String>),
Product(Change<Option<String>>),
Vendor(Change<Option<String>>),
Version(Change<Option<String>>),
ExtraInfo(Change<Option<String>>),
Build(Change<Option<Build>>),
Cpes {
gained: Vec<String>,
lost: Vec<String>,
},
}Expand description
Something that moved about what is listening on an endpoint.
Version is the one most monitoring looks for: 1.18.0 to
1.24.0 is a patch that landed, and the other way is a rollback.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Identified(Service)
Nothing was identified here before, and something is now.
Unidentified(Service)
Something was identified here before and nothing is now. The service is
not necessarily gone: the endpoint may not have been asked, which the
phase’s service_detection
setting records.
Name(Change<String>)
The service is called something else.
Product(Change<Option<String>>)
The product behind it changed.
Vendor(Change<Option<String>>)
The vendor changed.
Version(Change<Option<String>>)
The version changed.
ExtraInfo(Change<Option<String>>)
The trailing detail the fingerprint carried changed.
Build(Change<Option<Build>>)
Whose build it is, or which build, changed. A new package revision of the same upstream version is how a distribution’s security update looks from outside.
Cpes
The platform identifiers changed, each list ascending.
Trait Implementations§
Source§impl Clone for ServiceChange
impl Clone for ServiceChange
Source§impl Debug for ServiceChange
impl Debug for ServiceChange
Source§impl PartialEq for ServiceChange
impl PartialEq for ServiceChange
impl StructuralPartialEq for ServiceChange
Auto Trait Implementations§
impl Freeze for ServiceChange
impl RefUnwindSafe for ServiceChange
impl Send for ServiceChange
impl Sync for ServiceChange
impl Unpin for ServiceChange
impl UnsafeUnpin for ServiceChange
impl UnwindSafe for ServiceChange
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