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§
source§impl Debug for RouteUriError
impl Debug for RouteUriError
source§impl Display for RouteUriError
impl Display for RouteUriError
source§impl<'a> From<(&'a str, Error<'a>)> for RouteUriError
impl<'a> From<(&'a str, Error<'a>)> for RouteUriError
Auto Trait Implementations§
impl Freeze for RouteUriError
impl RefUnwindSafe for RouteUriError
impl Send for RouteUriError
impl Sync for RouteUriError
impl Unpin for RouteUriError
impl UnwindSafe for RouteUriError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more