pub trait PlatformCapabilities {
// Required methods
fn max_batch_size(&self) -> usize;
fn optimal_strategy(&self, workload_size: usize) -> VerificationStrategy;
fn supports_concurrent_verification(&self) -> bool;
fn performance_characteristics(&self) -> PlatformPerformanceProfile;
}Expand description
Platform capabilities interface for adaptive optimization
Required Methods§
Sourcefn max_batch_size(&self) -> usize
fn max_batch_size(&self) -> usize
Get maximum recommended batch size for the platform
Sourcefn optimal_strategy(&self, workload_size: usize) -> VerificationStrategy
fn optimal_strategy(&self, workload_size: usize) -> VerificationStrategy
Get optimal verification strategy for given workload
Sourcefn supports_concurrent_verification(&self) -> bool
fn supports_concurrent_verification(&self) -> bool
Check if platform supports concurrent verification
Sourcefn performance_characteristics(&self) -> PlatformPerformanceProfile
fn performance_characteristics(&self) -> PlatformPerformanceProfile
Get platform-specific performance metrics