Enum cosmic_universe::wave::core::http2::HttpMethod
source · [−]pub enum HttpMethod {
Options,
Get,
Post,
Put,
Delete,
Head,
Trace,
Connect,
Patch,
}Variants
Options
Get
Post
Put
Delete
Head
Trace
Connect
Patch
Trait Implementations
sourceimpl Clone for HttpMethod
impl Clone for HttpMethod
sourcefn clone(&self) -> HttpMethod
fn clone(&self) -> HttpMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for HttpMethod
impl Debug for HttpMethod
sourceimpl<'de> Deserialize<'de> for HttpMethod
impl<'de> Deserialize<'de> for HttpMethod
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for HttpMethod
impl Display for HttpMethod
sourceimpl From<HttpMethod> for Method
impl From<HttpMethod> for Method
sourcefn from(f: HttpMethod) -> Method
fn from(f: HttpMethod) -> Method
Converts to this type from the input type.
sourceimpl FromStr for HttpMethod
impl FromStr for HttpMethod
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for HttpMethod
impl Hash for HttpMethod
sourceimpl Into<Method> for HttpMethod
impl Into<Method> for HttpMethod
sourceimpl PartialEq<HttpMethod> for HttpMethod
impl PartialEq<HttpMethod> for HttpMethod
sourcefn eq(&self, other: &HttpMethod) -> bool
fn eq(&self, other: &HttpMethod) -> bool
sourceimpl Serialize for HttpMethod
impl Serialize for HttpMethod
sourceimpl TryFrom<&str> for HttpMethod
impl TryFrom<&str> for HttpMethod
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl TryFrom<Method> for HttpMethod
impl TryFrom<Method> for HttpMethod
sourceimpl TryInto<HttpMethod> for Method
impl TryInto<HttpMethod> for Method
sourceimpl ValueMatcher<HttpMethod> for HttpMethod
impl ValueMatcher<HttpMethod> for HttpMethod
impl Eq for HttpMethod
impl StructuralEq for HttpMethod
impl StructuralPartialEq for HttpMethod
Auto Trait Implementations
impl RefUnwindSafe for HttpMethod
impl Send for HttpMethod
impl Sync for HttpMethod
impl Unpin for HttpMethod
impl UnwindSafe for HttpMethod
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
sourceimpl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
sourcefn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere
T: Display,
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
sourceimpl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
sourcefn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more