Struct shio::http::Method [] [src]

pub struct Method(_);

The Request Method (VERB).

Methods

impl Method
[src]

HEAD: Method = Method(<http_types::Method>::HEAD)

OPTIONS: Method = Method(<http_types::Method>::OPTIONS)

GET: Method = Method(<http_types::Method>::GET)

POST: Method = Method(<http_types::Method>::POST)

PUT: Method = Method(<http_types::Method>::PUT)

PATCH: Method = Method(<http_types::Method>::PATCH)

DELETE: Method = Method(<http_types::Method>::DELETE)

Deprecated since 0.2.0

: use Method::HEAD instead

Head: Method = Method(<http_types::Method>::HEAD)

Deprecated since 0.2.0

: use Method::OPTIONS instead

Options: Method = Method(<http_types::Method>::OPTIONS)

Deprecated since 0.2.0

: use Method::GET instead

Get: Method = Method(<http_types::Method>::GET)

Deprecated since 0.2.0

: use Method::POST instead

Post: Method = Method(<http_types::Method>::POST)

Deprecated since 0.2.0

: use Method::PUT instead

Put: Method = Method(<http_types::Method>::PUT)

Deprecated since 0.2.0

: use Method::PATCH instead

Patch: Method = Method(<http_types::Method>::PATCH)

Deprecated since 0.2.0

: use Method::DELETE instead

Delete: Method = Method(<http_types::Method>::DELETE)

Trait Implementations

impl Debug for Method
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Method
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Method
[src]