Trait ntex_router::Resource
source · pub trait Resource<T: ResourcePath> {
// Required methods
fn path(&self) -> &str;
fn resource_path(&mut self) -> &mut Path<T>;
}
pub trait Resource<T: ResourcePath> {
// Required methods
fn path(&self) -> &str;
fn resource_path(&mut self) -> &mut Path<T>;
}