[]Enum rocket::http::uri::Path

pub enum Path {}

Marker type indicating use of a type for the path UriPart of a URI.

In route URIs, this corresponds to all of the text before a ?, if any, or all of the text in the URI otherwise:

#[get("/home/<name>/<page>?<item>")]
       ^------------------ Path

Trait Implementations

impl<'x, 'a> FromUriParam<Path, &'x &'a Path> for &'a Path

The resulting type of this conversion.

impl<'x, 'a> FromUriParam<Path, &'x mut PathBuf> for &'a Path

The resulting type of this conversion.

impl FromUriParam<Path, PathBuf> for PathBuf

The resulting type of this conversion.

impl<'a, 'b> FromUriParam<Path, &'a &'b str> for PathBuf

A no cost conversion allowing an &&str to be used in place of a PathBuf.

The resulting type of this conversion.

impl<'x> FromUriParam<Path, &'x PathBuf> for PathBuf

The resulting type of this conversion.

impl<'x, 'a> FromUriParam<Path, &'x PathBuf> for &'a Path

The resulting type of this conversion.

impl<'x, 'a> FromUriParam<Path, &'x mut &'a Path> for &'a Path

The resulting type of this conversion.

impl<'a> FromUriParam<Path, PathBuf> for &'a Path

The resulting type of this conversion.

impl<'x, 'a> FromUriParam<Path, &'x &'a Path> for PathBuf

The resulting type of this conversion.

impl<'x> FromUriParam<Path, &'x mut PathBuf> for PathBuf

The resulting type of this conversion.

impl<'a> FromUriParam<Path, &'a Path> for PathBuf

The resulting type of this conversion.

impl<'a> FromUriParam<Path, &'a str> for PathBuf

A no cost conversion allowing an &str to be used in place of a PathBuf.

The resulting type of this conversion.

impl<'a> FromUriParam<Path, &'a Path> for &'a Path

The resulting type of this conversion.

impl<'x, 'a> FromUriParam<Path, &'x mut &'a Path> for PathBuf

The resulting type of this conversion.

impl UriDisplay<Path> for PathBuf

Percent-encodes each segment in the path and normalizes separators.

impl UriDisplay<Path> for Path

Percent-encodes each segment in the path and normalizes separators.

impl UriPart for Path

Auto Trait Implementations

impl Send for Path

impl Sync for Path

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Typeable for T where
    T: Any

Get the TypeId of this object.

impl<T> IntoCollection for T

impl<T, I> AsResult for T where
    I: Input,