Enum micro_http_async::HttpMethod
source ·
[−]pub enum HttpMethod {
Get,
Post,
Head,
Put,
Delete,
Connect,
Options,
Trace,
}
Expand description
Http Methods
An enum with the types of method that a user can request
It is up to the user to specify in the callbacks which methods to accept
Variants
Get
Post
Head
Put
Delete
Connect
Options
Trace
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
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
Mutably borrows from an owned value. Read more