pub enum Methods {
Get(HTTPFunction),
Post(HTTPFunction),
Options(HTTPFunction),
Connect(HTTPFunction),
Delete(HTTPFunction),
Put(HTTPFunction),
Patch(HTTPFunction),
Head(HTTPFunction),
Trace(HTTPFunction),
}Variants§
Get(HTTPFunction)
Post(HTTPFunction)
Options(HTTPFunction)
Connect(HTTPFunction)
Delete(HTTPFunction)
Put(HTTPFunction)
Patch(HTTPFunction)
Head(HTTPFunction)
Trace(HTTPFunction)
Implementations§
Source§impl Methods
impl Methods
pub const fn get_inner(self) -> HTTPFunction
pub const fn get_type(&self) -> HttpMethod
Trait Implementations§
Source§impl Ord for Methods
impl Ord for Methods
Source§impl PartialOrd for Methods
impl PartialOrd for Methods
impl Copy for Methods
impl Eq for Methods
impl StructuralPartialEq for Methods
Auto Trait Implementations§
impl Freeze for Methods
impl RefUnwindSafe for Methods
impl Send for Methods
impl Sync for Methods
impl Unpin for Methods
impl UnwindSafe for Methods
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