Trait tc_transact::public::Route
source · pub trait Route<State>: Send + Sync {
// Required method
fn route<'a>(
&'a self,
path: &'a [PathSegment]
) -> Option<Box<dyn Handler<'a, State> + 'a>>;
}
pub trait Route<State>: Send + Sync {
// Required method
fn route<'a>(
&'a self,
path: &'a [PathSegment]
) -> Option<Box<dyn Handler<'a, State> + 'a>>;
}