Trait ntex::router::ResourcePath

source ·
pub trait ResourcePath {
    // Required method
    fn path(&self) -> &str;

    // Provided method
    fn unquote(s: &str) -> Cow<'_, str> { ... }
}

Required Methods§

source

fn path(&self) -> &str

Provided Methods§

source

fn unquote(s: &str) -> Cow<'_, str>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ResourcePath for String

source§

fn path(&self) -> &str

source§

impl<'a> ResourcePath for &'a str

source§

fn path(&self) -> &str

source§

impl<'a, T> ResourcePath for &'a T
where T: ResourcePath,

source§

fn path(&self) -> &str

Implementors§