[−][src]Enum rocket::http::uri::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
[src]
type Target = &'x &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'x &'a Path) -> &'x &'a Path
[src]
impl<'x, 'a> FromUriParam<Path, &'x mut PathBuf> for &'a Path
[src]
type Target = &'x mut PathBuf
The resulting type of this conversion.
fn from_uri_param(param: &'x mut PathBuf) -> &'x mut PathBuf
[src]
impl<'x, 'a> FromUriParam<Path, &'x &'a Path> for PathBuf
[src]
type Target = &'x &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'x &'a Path) -> &'x &'a Path
[src]
impl<'x> FromUriParam<Path, &'x mut PathBuf> for PathBuf
[src]
type Target = &'x mut PathBuf
The resulting type of this conversion.
fn from_uri_param(param: &'x mut PathBuf) -> &'x mut PathBuf
[src]
impl<'a, 'b> FromUriParam<Path, &'a &'b str> for PathBuf
[src]
A no cost conversion allowing an &&str
to be used in place of a PathBuf
.
type Target = &'b Path
The resulting type of this conversion.
fn from_uri_param(param: &'a &'b str) -> &'b Path
[src]
impl<'x, 'a> FromUriParam<Path, &'x PathBuf> for &'a Path
[src]
type Target = &'x PathBuf
The resulting type of this conversion.
fn from_uri_param(param: &'x PathBuf) -> &'x PathBuf
[src]
impl<'a> FromUriParam<Path, &'a Path> for PathBuf
[src]
type Target = &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'a Path) -> &'a Path
[src]
impl<'x> FromUriParam<Path, &'x PathBuf> for PathBuf
[src]
type Target = &'x PathBuf
The resulting type of this conversion.
fn from_uri_param(param: &'x PathBuf) -> &'x PathBuf
[src]
impl<'a> FromUriParam<Path, &'a Path> for &'a Path
[src]
type Target = &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'a Path) -> &'a Path
[src]
impl FromUriParam<Path, PathBuf> for PathBuf
[src]
type Target = PathBuf
The resulting type of this conversion.
fn from_uri_param(param: PathBuf) -> PathBuf
[src]
impl<'x, 'a> FromUriParam<Path, &'x mut &'a Path> for PathBuf
[src]
type Target = &'x mut &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'x mut &'a Path) -> &'x mut &'a Path
[src]
impl<'a> FromUriParam<Path, &'a str> for PathBuf
[src]
A no cost conversion allowing an &str
to be used in place of a PathBuf
.
type Target = &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'a str) -> &'a Path
[src]
impl<'a> FromUriParam<Path, PathBuf> for &'a Path
[src]
type Target = PathBuf
The resulting type of this conversion.
fn from_uri_param(param: PathBuf) -> PathBuf
[src]
impl<'x, 'a> FromUriParam<Path, &'x mut &'a Path> for &'a Path
[src]
type Target = &'x mut &'a Path
The resulting type of this conversion.
fn from_uri_param(param: &'x mut &'a Path) -> &'x mut &'a Path
[src]
impl UriDisplay<Path> for PathBuf
[src]
Percent-encodes each segment in the path and normalizes separators.
impl UriDisplay<Path> for Path
[src]
Percent-encodes each segment in the path and normalizes separators.
impl UriPart for Path
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> IntoCollection for T
[src]
ⓘImportant traits for SmallVec<A>fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
[src]
A: Array<Item = T>,
ⓘImportant traits for SmallVec<A>fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
[src]
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T, I> AsResult for T where
I: Input,
[src]
I: Input,