Trait ntex_router::Resource

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

Required Methods§

source

fn path(&self) -> &str

source

fn resource_path(&mut self) -> &mut Path<T>

Implementors§