pub enum Method {
Get,
Head,
Post,
Put,
Delete,
Connect,
Options,
Trace,
Patch,
NonStandard(AsciiString),
}
Variants
Get
GET
Head
HEAD
Post
POST
Put
PUT
Delete
DELETE
Connect
CONNECT
Options
OPTIONS
Trace
TRACE
Patch
PATCH
NonStandard(AsciiString)
Request methods not standardized by the IETF
Implementations
Trait Implementations
impl Eq for Method
impl StructuralEq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more