pub struct ValidationPipeline { /* private fields */ }Expand description
核心验证管道 - 被多个命令复用
Implementations§
Source§impl ValidationPipeline
impl ValidationPipeline
pub fn new( config_manager: Arc<dyn ConfigManager>, dependency_resolver: Arc<dyn DependencyResolver>, service_discovery: Arc<dyn ServiceDiscovery>, network_validator: Arc<dyn NetworkValidator>, fingerprint_validator: Arc<dyn FingerprintValidator>, ) -> Self
Sourcepub async fn validate_project(&self) -> Result<ValidationReport>
pub async fn validate_project(&self) -> Result<ValidationReport>
完整的项目验证流程
Sourcepub async fn validate_dependencies(
&self,
specs: &[DependencySpec],
) -> Result<Vec<DependencyValidation>>
pub async fn validate_dependencies( &self, specs: &[DependencySpec], ) -> Result<Vec<DependencyValidation>>
验证特定依赖列表
Trait Implementations§
Source§impl Clone for ValidationPipeline
impl Clone for ValidationPipeline
Source§fn clone(&self) -> ValidationPipeline
fn clone(&self) -> ValidationPipeline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ValidationPipeline
impl !RefUnwindSafe for ValidationPipeline
impl Send for ValidationPipeline
impl Sync for ValidationPipeline
impl Unpin for ValidationPipeline
impl !UnwindSafe for ValidationPipeline
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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