pub trait Validate {
// Required method
fn validate(&self) -> Result<(), BodyError>;
}Expand description
State-free checks of one body.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".