#[non_exhaustive]pub enum OastHttpMethod {
Unknown,
Get,
Head,
Post,
Put,
Patch,
Delete,
Options,
Trace,
Connect,
Other,
}Expand description
Method classification for a raw-free HTTP event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
The provider retained an HTTP interaction without retaining its method.
This is deliberately distinct from guessing GET: a raw-free provider
may prove only that an HTTP callback occurred.
Get
GET.
Head
HEAD.
Post
POST.
Put
PUT.
Patch
PATCH.
Delete
DELETE.
Options
OPTIONS.
Trace
TRACE.
Connect
CONNECT.
Other
Another method, without its raw token.
Trait Implementations§
Source§impl Clone for OastHttpMethod
impl Clone for OastHttpMethod
Source§fn clone(&self) -> OastHttpMethod
fn clone(&self) -> OastHttpMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OastHttpMethod
Source§impl Debug for OastHttpMethod
impl Debug for OastHttpMethod
impl Eq for OastHttpMethod
Source§impl Hash for OastHttpMethod
impl Hash for OastHttpMethod
Source§impl Ord for OastHttpMethod
impl Ord for OastHttpMethod
Source§fn cmp(&self, other: &OastHttpMethod) -> Ordering
fn cmp(&self, other: &OastHttpMethod) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OastHttpMethod
impl PartialEq for OastHttpMethod
Source§impl PartialOrd for OastHttpMethod
impl PartialOrd for OastHttpMethod
impl StructuralPartialEq for OastHttpMethod
Auto Trait Implementations§
impl Freeze for OastHttpMethod
impl RefUnwindSafe for OastHttpMethod
impl Send for OastHttpMethod
impl Sync for OastHttpMethod
impl Unpin for OastHttpMethod
impl UnsafeUnpin for OastHttpMethod
impl UnwindSafe for OastHttpMethod
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more