Trait actix_router::ResourcePath

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

Required Methods§

source

fn path(&self) -> &str

Implementations on Foreign Types§

source§

impl ResourcePath for String

source§

fn path(&self) -> &str

source§

impl ResourcePath for Uri

Available on crate feature http only.
source§

fn path(&self) -> &str

source§

impl ResourcePath for ByteString

source§

fn path(&self) -> &str

source§

impl<'a> ResourcePath for &'a str

source§

fn path(&self) -> &str

Implementors§

source§

impl ResourcePath for Url

Available on crate feature http only.