Enum kern::http::server::HttpMethod
source · pub enum HttpMethod {
Get,
Post,
Put,
Delete,
Head,
Connect,
Options,
Trace,
}
Expand description
HTTP request method (GET or POST)
Variants§
Trait Implementations§
source§impl Debug for HttpMethod
impl Debug for HttpMethod
source§impl PartialEq for HttpMethod
impl PartialEq for HttpMethod
source§fn eq(&self, other: &HttpMethod) -> bool
fn eq(&self, other: &HttpMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HttpMethod
impl StructuralPartialEq for HttpMethod
Auto Trait Implementations§
impl RefUnwindSafe for HttpMethod
impl Send for HttpMethod
impl Sync for HttpMethod
impl Unpin for HttpMethod
impl UnwindSafe for HttpMethod
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