pub struct ConsistencyCheckConfig {
pub enable_type_analysis: bool,
pub enable_performance_analysis: bool,
pub enable_thread_safety_check: bool,
pub enable_memory_analysis: bool,
pub strictness_level: CheckStrictnessLevel,
pub custom_rules: Vec<Box<dyn Fn(&str) -> Vec<ConsistencyIssue>>>,
}Expand description
Configuration for consistency checking behavior
Fields§
§enable_type_analysis: boolEnable deep type analysis
enable_performance_analysis: boolEnable performance pattern analysis
enable_thread_safety_check: boolEnable thread safety checking
enable_memory_analysis: boolEnable memory pattern analysis
strictness_level: CheckStrictnessLevelStrictness level for checking
custom_rules: Vec<Box<dyn Fn(&str) -> Vec<ConsistencyIssue>>>Custom validation rules
Trait Implementations§
Source§impl Clone for ConsistencyCheckConfig
impl Clone for ConsistencyCheckConfig
Source§impl Debug for ConsistencyCheckConfig
impl Debug for ConsistencyCheckConfig
Auto Trait Implementations§
impl Freeze for ConsistencyCheckConfig
impl !RefUnwindSafe for ConsistencyCheckConfig
impl !Send for ConsistencyCheckConfig
impl !Sync for ConsistencyCheckConfig
impl Unpin for ConsistencyCheckConfig
impl !UnwindSafe for ConsistencyCheckConfig
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