Skip to main content

auric_runtime/routing/
route_def.rs

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