pub enum EntryStatus {
Unchanged,
New,
Gone,
}Expand description
Change-tracking status for a port entry between scan cycles.
Used by crate::core::scanner::diff_entries to compute what changed.
Variants§
Unchanged
Entry existed in previous scan and still exists.
New
Entry is new since last scan.
Gone
Entry disappeared since last scan. Will be retained for
GONE_RETENTION seconds before removal.
Trait Implementations§
Source§impl Clone for EntryStatus
impl Clone for EntryStatus
Source§fn clone(&self) -> EntryStatus
fn clone(&self) -> EntryStatus
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 EntryStatus
impl Debug for EntryStatus
Source§impl PartialEq for EntryStatus
impl PartialEq for EntryStatus
impl Copy for EntryStatus
impl Eq for EntryStatus
impl StructuralPartialEq for EntryStatus
Auto Trait Implementations§
impl Freeze for EntryStatus
impl RefUnwindSafe for EntryStatus
impl Send for EntryStatus
impl Sync for EntryStatus
impl Unpin for EntryStatus
impl UnsafeUnpin for EntryStatus
impl UnwindSafe for EntryStatus
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