Enum fire_http_representation::header::Method
source · [−]#[non_exhaustive]
pub enum Method {
Get,
Post,
Put,
Delete,
Head,
Options,
Connect,
Patch,
Trace,
}
Expand description
An enum of all possible http methods.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Get
GET
Post
POST
Put
PUT
Delete
DELETE
Head
HEAD
Options
OPTIONS
Connect
CONNECT
Patch
PATCH
Trace
TRACE
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Method
impl UnwindSafe for Method
Blanket Implementations
Mutably borrows from an owned value. Read more