1 2 3 4 5 6 7 8 9 10
use crate::routing::Route; use std::sync::Arc; #[derive(Clone)] pub struct RouteDef { pub name: String, pub path: String, #[allow(unused)] pub route: Arc<dyn Route + Send + Sync>, }