1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
use std::convert::Infallible;
use crate::objects::{Curve, GlobalCurve};
use super::{Validate, ValidationConfig};
impl Validate for Curve {
type Error = Infallible;
fn validate_with_config(
&self,
_: &ValidationConfig,
) -> Result<(), Self::Error> {
Ok(())
}
}
impl Validate for GlobalCurve {
type Error = Infallible;
fn validate_with_config(
&self,
_: &ValidationConfig,
) -> Result<(), Self::Error> {
Ok(())
}
}