Struct poem::error::NotFoundError
source · [−]pub struct NotFoundError;
Expand description
Error occurred in the router.
Trait Implementations
sourceimpl Clone for NotFoundError
impl Clone for NotFoundError
sourcefn clone(&self) -> NotFoundError
fn clone(&self) -> NotFoundError
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 NotFoundError
impl Debug for NotFoundError
sourceimpl Display for NotFoundError
impl Display for NotFoundError
sourceimpl Error for NotFoundError
impl Error for NotFoundError
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<NotFoundError> for NotFoundError
impl PartialEq<NotFoundError> for NotFoundError
sourcefn eq(&self, other: &NotFoundError) -> bool
fn eq(&self, other: &NotFoundError) -> bool
sourceimpl ResponseError for NotFoundError
impl ResponseError for NotFoundError
sourcefn status(&self) -> StatusCode
fn status(&self) -> StatusCode
The status code of this error.
impl Copy for NotFoundError
impl Eq for NotFoundError
impl StructuralEq for NotFoundError
impl StructuralPartialEq for NotFoundError
Auto Trait Implementations
impl RefUnwindSafe for NotFoundError
impl Send for NotFoundError
impl Sync for NotFoundError
impl Unpin for NotFoundError
impl UnwindSafe for NotFoundError
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.