pub trait Guard {
// Required method
fn check<T>(v: &[u8]) -> Result<(), GuardError>;
}
Expand description
The trait describes types which define boundary checking strategies. See the module-level documentation for more details.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.