pub enum Method {
Show 13 variants
POST,
GET,
HEAD,
PUT,
DELETE,
OPTIONS,
PATCH,
TRACE,
VIEW,
CONNECT,
PROPFIND,
PRI,
Other(String),
}Expand description
请求方法
Variants§
POST
请求
GET
获取
HEAD
请求头
PUT
更新
DELETE
删除
OPTIONS
预请求
PATCH
TRACE
VIEW
CONNECT
PROPFIND
PRI
http2.0
Other(String)
其他
Implementations§
Trait Implementations§
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