Struct poem::error::MethodNotAllowedError
source · [−]pub struct MethodNotAllowedError;
Expand description
Error occurred in the router.
Trait Implementations
sourceimpl Clone for MethodNotAllowedError
impl Clone for MethodNotAllowedError
sourcefn clone(&self) -> MethodNotAllowedError
fn clone(&self) -> MethodNotAllowedError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MethodNotAllowedError
impl Debug for MethodNotAllowedError
sourceimpl Display for MethodNotAllowedError
impl Display for MethodNotAllowedError
sourceimpl Error for MethodNotAllowedError
impl Error for MethodNotAllowedError
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<MethodNotAllowedError> for MethodNotAllowedError
impl PartialEq<MethodNotAllowedError> for MethodNotAllowedError
sourcefn eq(&self, other: &MethodNotAllowedError) -> bool
fn eq(&self, other: &MethodNotAllowedError) -> bool
sourceimpl ResponseError for MethodNotAllowedError
impl ResponseError for MethodNotAllowedError
sourcefn status(&self) -> StatusCode
fn status(&self) -> StatusCode
The status code of this error.
impl Copy for MethodNotAllowedError
impl Eq for MethodNotAllowedError
impl StructuralEq for MethodNotAllowedError
impl StructuralPartialEq for MethodNotAllowedError
Auto Trait Implementations
impl RefUnwindSafe for MethodNotAllowedError
impl Send for MethodNotAllowedError
impl Sync for MethodNotAllowedError
impl Unpin for MethodNotAllowedError
impl UnwindSafe for MethodNotAllowedError
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.