Trait fidl_table_validation::Validate
source · pub trait Validate<T> {
type Error;
// Required method
fn validate(candidate: &T) -> Result<(), Self::Error>;
}
Expand description
Validations on T
that can be run during construction of a validated
fidl table by adding the attribute #[fidl_table_validator(YourImpl)]
to the valid struct.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.