Enum http_router::Method[][src]

pub enum Method {
    GET,
    POST,
    PUT,
    PATCH,
    DELETE,
    OPTIONS,
    HEAD,
    CONNECT,
    TRACE,
}

Http verbs

Variants

Trait Implementations

impl Debug for Method
[src]

Formats the value using the given formatter. Read more

impl Clone for Method
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Method
[src]

impl PartialEq for Method
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Method
[src]

impl From<HyperMethod> for Method
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Method

impl Sync for Method