1 2 3 4 5 6 7
use crate::ValidationError; /// A trait to perform basic validation of the data consistency. pub trait ValidateBasic { /// Perform a basic validation of the data consistency. fn validate_basic(&self) -> Result<(), ValidationError>; }