Trait HtmxHandler

Source
pub trait HtmxHandler<S> {
    // Required method
    fn axum_router(self) -> (&'static str, MethodRouter<S>);
}
Expand description

The trait expected by the Router to add HTMX routes.

Required Methods§

Source

fn axum_router(self) -> (&'static str, MethodRouter<S>)

Implementors§