Enum http_router::Method [−][src]
pub enum Method { GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD, CONNECT, TRACE, }
Http verbs
Variants
GET
POST
PUT
PATCH
DELETE
OPTIONS
HEAD
CONNECT
TRACE
Trait Implementations
impl Debug for Method
[src]
impl Debug for Method
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Method
[src]
impl Clone for Method
fn clone(&self) -> Method
[src]
fn clone(&self) -> Method
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Method
[src]
impl Copy for Method
impl PartialEq for Method
[src]
impl PartialEq for Method
fn eq(&self, other: &Method) -> bool
[src]
fn eq(&self, other: &Method) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Method
[src]
impl Eq for Method
impl From<HyperMethod> for Method
[src]
impl From<HyperMethod> for Method
fn from(hm: HyperMethod) -> Method
[src]
fn from(hm: HyperMethod) -> Method
Performs the conversion.