Enum rocket::error::RouteUriError[][src]

pub enum RouteUriError {
    Segment,
    Uri(Error<'static>),
    DynamicBase,
}
Expand description

Error returned by set_uri() on invalid URIs.

Variants

Segment

The base (mount point) or route path contains invalid segments.

Uri(Error<'static>)

The route URI is not a valid URI.

Tuple Fields of Uri

0: Error<'static>
DynamicBase

The base (mount point) contains dynamic segments.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts self into a collection.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Get the TypeId of this object.