Skip to main content

ResourcePath

Trait ResourcePath 

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

Required Methods§

Source

fn path(&self) -> &str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ResourcePath for &str

Source§

fn path(&self) -> &str

Source§

impl ResourcePath for ByteString

Source§

fn path(&self) -> &str

Source§

impl ResourcePath for String

Source§

fn path(&self) -> &str

Implementors§

Source§

impl ResourcePath for Uri

Available on crate feature http only.
Source§

impl ResourcePath for Url