pub trait Validator {
// Required method
fn validate(&self, config: RSlice<'_, u8>) -> RResult<(), ()>;
}
Expand description
Config validator stable trait.
The reason for the existence of this trait is that abi_stable
crate doesn’t support
closures.