pub struct ApiConsistencyChecker { /* private fields */ }Expand description
Advanced API consistency checker with comprehensive analysis capabilities
Implementations§
Source§impl ApiConsistencyChecker
impl ApiConsistencyChecker
Sourcepub fn with_config(config: ConsistencyCheckConfig) -> Self
pub fn with_config(config: ConsistencyCheckConfig) -> Self
Create a new API consistency checker with custom configuration
Sourcepub fn check_component<T>(&mut self, component: &T) -> ConsistencyReportwhere
T: Debug,
pub fn check_component<T>(&mut self, component: &T) -> ConsistencyReportwhere
T: Debug,
Check if a component follows standard API patterns with advanced analysis
Sourcepub fn check_pipeline_consistency<T>(
&mut self,
components: &[T],
) -> PipelineConsistencyReportwhere
T: Debug,
pub fn check_pipeline_consistency<T>(
&mut self,
components: &[T],
) -> PipelineConsistencyReportwhere
T: Debug,
Check API consistency across multiple components with advanced cross-analysis
Sourcepub fn register_component_type(&mut self, info: ComponentTypeInfo)
pub fn register_component_type(&mut self, info: ComponentTypeInfo)
Register a component type for improved analysis
Sourcepub fn clear_cache(&mut self)
pub fn clear_cache(&mut self)
Clear analysis cache
Sourcepub fn get_analysis_statistics(&self) -> AnalysisStatistics
pub fn get_analysis_statistics(&self) -> AnalysisStatistics
Get analysis statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiConsistencyChecker
impl !RefUnwindSafe for ApiConsistencyChecker
impl !Send for ApiConsistencyChecker
impl !Sync for ApiConsistencyChecker
impl Unpin for ApiConsistencyChecker
impl !UnwindSafe for ApiConsistencyChecker
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