pub enum Method {
Get,
Post,
Put,
Delete,
Head,
Options,
Patch,
Connect,
Trace,
}Expand description
Supported HTTP methods.
Variants§
Get
HTTP GET.
Post
HTTP POST.
Put
HTTP PUT.
Delete
HTTP DELETE.
Head
HTTP HEAD.
Options
HTTP OPTIONS.
Patch
HTTP PATCH.
Connect
HTTP CONNECT.
Trace
HTTP TRACE.
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more