pub struct IntelScanner { /* private fields */ }Expand description
modgunn’s scanner over a resolved database, with the staleness rule folded into every verdict.
Implementations§
Source§impl IntelScanner
impl IntelScanner
pub fn new(policy: Policy, resolved: ResolvedAdvisories) -> Self
pub fn evidence(&self) -> &IntelEvidence
pub fn scanner(&self) -> &OsvScanner
pub fn scan(&self, artifact: &Artifact) -> IntelVerdict
Auto Trait Implementations§
impl Freeze for IntelScanner
impl RefUnwindSafe for IntelScanner
impl Send for IntelScanner
impl Sync for IntelScanner
impl Unpin for IntelScanner
impl UnsafeUnpin for IntelScanner
impl UnwindSafe for IntelScanner
Blanket Implementations§
impl<T> Allocation for T
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
Mutably borrows from an owned value. Read more