Skip to main content

Module method

Module method 

Source

Enums§

Method
HTTP request method (RFC 9110 §9). Standard methods are unit variants — an integer-discriminant compare, no allocation. A non-standard method carries its wire bytes in Method::Other, so inbound parsing of an unknown method never copies beyond the wire buffer it already holds (use Method::from_wire).