lurq 0.41.2

A Rust UI toolkit with typed components, retained state, reactive signals, GPU rendering, and DevTools.
Documentation
1
2
3
4
5
6
7
8
9
use super::route_match::RouteMatch;

pub enum GuardAction {
  Allow,
  Deny,
  Redirect(String),
}

pub(crate) type GuardFn = dyn Fn(&RouteMatch) -> GuardAction + Send + Sync;