pub trait HookContextFormExt {
// Required method
fn form() -> FormState;
}Expand description
Extension trait that exposes the hook-context factory
used by App::use_form.
Splitting the factory into a trait (rather than a bare
impl HookContext) keeps the public surface compact
and lets future hooks slot into the same trait.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".