Struct poem::error::ParsePathError
source · pub struct ParsePathError;
Expand description
Only the endpoints under the router can get the path parameters, otherwise this error will occur.
Trait Implementations
sourceimpl Clone for ParsePathError
impl Clone for ParsePathError
sourcefn clone(&self) -> ParsePathError
fn clone(&self) -> ParsePathError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ParsePathError
impl Debug for ParsePathError
sourceimpl Display for ParsePathError
impl Display for ParsePathError
sourceimpl Error for ParsePathError
impl Error for ParsePathError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<ParsePathError> for ParsePathError
impl PartialEq<ParsePathError> for ParsePathError
sourcefn eq(&self, other: &ParsePathError) -> bool
fn eq(&self, other: &ParsePathError) -> bool
sourceimpl ResponseError for ParsePathError
impl ResponseError for ParsePathError
sourcefn status(&self) -> StatusCode
fn status(&self) -> StatusCode
The status code of this error.
impl Copy for ParsePathError
impl Eq for ParsePathError
impl StructuralEq for ParsePathError
impl StructuralPartialEq for ParsePathError
Auto Trait Implementations
impl RefUnwindSafe for ParsePathError
impl Send for ParsePathError
impl Sync for ParsePathError
impl Unpin for ParsePathError
impl UnwindSafe for ParsePathError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.