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

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

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.

DynamicBase

The base (mount point) contains dynamic segments.

Trait Implementations

impl Debug for RouteUriError[src]

impl Display for RouteUriError[src]

impl<'a> From<(&'a str, Error<'a>)> for RouteUriError[src]

impl<'a> From<Error<'a>> for RouteUriError[src]

Auto Trait Implementations

impl RefUnwindSafe for RouteUriError

impl Send for RouteUriError

impl Sync for RouteUriError

impl Unpin for RouteUriError

impl UnwindSafe for RouteUriError

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> IntoCollection<T> for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,