pub enum SafeDiscoverySkip {
Crashed {
path: PathBuf,
detail: String,
},
TimedOut {
path: PathBuf,
},
Failed {
path: PathBuf,
detail: String,
},
}Expand description
Why a single plugin was skipped during a safe scan. Surfaced via
SafeDiscoveryReport so callers can log or display why a plugin was omitted.
Variants§
Crashed
The probe process crashed (e.g. the plugin called abort() or made a
pure-virtual call) — exactly the case in-process scanning cannot survive.
Fields
TimedOut
The probe did not finish within the timeout and was killed.
Failed
The probe ran but reported a (non-crash) failure introspecting the plugin.
Implementations§
Trait Implementations§
Source§impl Clone for SafeDiscoverySkip
impl Clone for SafeDiscoverySkip
Source§fn clone(&self) -> SafeDiscoverySkip
fn clone(&self) -> SafeDiscoverySkip
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SafeDiscoverySkip
impl RefUnwindSafe for SafeDiscoverySkip
impl Send for SafeDiscoverySkip
impl Sync for SafeDiscoverySkip
impl Unpin for SafeDiscoverySkip
impl UnsafeUnpin for SafeDiscoverySkip
impl UnwindSafe for SafeDiscoverySkip
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