pub struct DependencyResolver { /* private fields */ }Expand description
Dependency resolver for checking plugin dependencies
Implementations§
Source§impl DependencyResolver
impl DependencyResolver
Sourcepub fn is_available(&self, dependency: &Dependency) -> bool
pub fn is_available(&self, dependency: &Dependency) -> bool
Check if a dependency is available
Sourcepub fn is_compatible_version(&self, _dependency: &Dependency) -> bool
pub fn is_compatible_version(&self, _dependency: &Dependency) -> bool
Check if dependency version is compatible
Sourcepub fn check_vulnerabilities(
&self,
_dependency: &Dependency,
) -> Option<Vec<String>>
pub fn check_vulnerabilities( &self, _dependency: &Dependency, ) -> Option<Vec<String>>
Check for known vulnerabilities
Trait Implementations§
Source§impl Debug for DependencyResolver
impl Debug for DependencyResolver
Auto Trait Implementations§
impl Freeze for DependencyResolver
impl RefUnwindSafe for DependencyResolver
impl Send for DependencyResolver
impl Sync for DependencyResolver
impl Unpin for DependencyResolver
impl UnwindSafe for DependencyResolver
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> 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