Enum rocket::error::RouteUriError
source · [−]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.
DynamicBase
The base (mount point) contains dynamic segments.
Trait Implementations
sourceimpl Debug for RouteUriError
impl Debug for RouteUriError
sourceimpl Display for RouteUriError
impl Display for RouteUriError
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
sourcefn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.