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