pub trait AlgorithmValidator {
// Required methods
fn validate(
&self,
algorithm: &AlgorithmRegistration,
) -> DeviceResult<ValidationResult>;
fn get_validator_name(&self) -> String;
}Expand description
Algorithm validator trait
Required Methods§
fn validate( &self, algorithm: &AlgorithmRegistration, ) -> DeviceResult<ValidationResult>
fn get_validator_name(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".