pub struct SwiftScan<'a> {
pub vuln_db: Option<&'a str>,
}Expand description
Everything the Swift scan path needs. Like the other Tier-C feeders it is toolchain-free
only (the matcher reads Package.resolved and an OSV mirror, building nothing), so the
only input is the file:// OSV mirror, absent which a Swift repo is an honest gap.
Fields§
§vuln_db: Option<&'a str>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SwiftScan<'a>
impl<'a> RefUnwindSafe for SwiftScan<'a>
impl<'a> Send for SwiftScan<'a>
impl<'a> Sync for SwiftScan<'a>
impl<'a> Unpin for SwiftScan<'a>
impl<'a> UnsafeUnpin for SwiftScan<'a>
impl<'a> UnwindSafe for SwiftScan<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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