torsh-backend 0.1.2

Backend abstraction layer for ToRSh
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Auto-generated module
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::types::{ConfigError, OptimizationConfig, ValidationResult};

pub trait ConfigValidator: std::fmt::Debug + Send + Sync {
    fn validate(
        &self,
        config: &OptimizationConfig,
    ) -> Result<ValidationResult, ConfigError>;
    fn get_name(&self) -> &str;
    fn get_description(&self) -> &str;
}