pub enum RoutePathError {
NotAbsolute,
EmptySegment,
InvalidParamName(String),
DuplicateParam(String),
CatchAllNotLast,
ReservedPrefix(String),
InvalidLiteral(String),
}Variants§
NotAbsolute
EmptySegment
InvalidParamName(String)
DuplicateParam(String)
CatchAllNotLast
ReservedPrefix(String)
InvalidLiteral(String)
Trait Implementations§
Source§impl Clone for RoutePathError
impl Clone for RoutePathError
Source§impl Debug for RoutePathError
impl Debug for RoutePathError
Source§impl Display for RoutePathError
impl Display for RoutePathError
impl Eq for RoutePathError
Source§impl Error for RoutePathError
impl Error for RoutePathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RoutePathError
impl PartialEq for RoutePathError
impl StructuralPartialEq for RoutePathError
Auto Trait Implementations§
impl Freeze for RoutePathError
impl RefUnwindSafe for RoutePathError
impl Send for RoutePathError
impl Sync for RoutePathError
impl Unpin for RoutePathError
impl UnsafeUnpin for RoutePathError
impl UnwindSafe for RoutePathError
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