#[non_exhaustive]pub enum ScanVerdict {
Clean {
engine: String,
evidence_id: String,
},
Infected {
engine: String,
signature: String,
},
Unavailable {
engine: String,
reason: String,
},
}Expand description
Scanner outcome. Unavailable is always fail-closed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Clean
The scanner completed and did not recognize malicious content.
Fields
Infected
The scanner recognized malicious content.
Fields
The scanner could not produce a trustworthy verdict.
Trait Implementations§
Source§impl Clone for ScanVerdict
impl Clone for ScanVerdict
Source§impl Debug for ScanVerdict
impl Debug for ScanVerdict
impl Eq for ScanVerdict
Source§impl PartialEq for ScanVerdict
impl PartialEq for ScanVerdict
impl StructuralPartialEq for ScanVerdict
Auto Trait Implementations§
impl Freeze for ScanVerdict
impl RefUnwindSafe for ScanVerdict
impl Send for ScanVerdict
impl Sync for ScanVerdict
impl Unpin for ScanVerdict
impl UnsafeUnpin for ScanVerdict
impl UnwindSafe for ScanVerdict
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