pub trait StaticAnalyzerConfig {
// Required methods
fn ini<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Ini> + Send + 'async_trait>>
where Self: 'async_trait;
fn save<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait;
fn with_path(self, path: PathBuf) -> Self;
fn resolve_package(value: impl AsRef<str>) -> String;
}Expand description
Trait for static analyzer configuration (e.g. .vale.ini)
Required Methods§
Sourcefn ini<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Ini> + Send + 'async_trait>>where
Self: 'async_trait,
fn ini<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Ini> + Send + 'async_trait>>where
Self: 'async_trait,
Convert to INI
Sourcefn save<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>where
Self: 'async_trait,
fn save<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>where
Self: 'async_trait,
Save configuration
Sourcefn resolve_package(value: impl AsRef<str>) -> String
fn resolve_package(value: impl AsRef<str>) -> String
Resolve package source: convert bare package name to download URL or pass through existing URL/path
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".