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
Percent-encodes each segment in the path and normalizes separators.
Formats self
in a URI-safe manner using the given formatter.
Percent-encodes each segment in the path and normalizes separators.
Formats self
in a URI-safe manner using the given formatter.
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
A no cost conversion allowing an &str
to be used in place of a PathBuf
.
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
A no cost conversion allowing an &&str
to be used in place of a PathBuf
.
The resulting type of this conversion.
Converts a value of type T
into a value of type Self::Target
. The resulting value of type Self::Target
will be rendered into a URI using its UriDisplay
implementation. Read more
Converts self
into a collection.
type Error = !
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Get the TypeId
of this object.