Enum conjure_runtime::Idempotency [−][src]
#[non_exhaustive]
pub enum Idempotency {
Always,
ByMethod,
Never,
}Specifies the manner in which the client decides if a request is idempotent or not.
Variants (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.
All requests are assumed to be idempotent.
Only requests with HTTP methods defined as idempotent (GET, HEAD, OPTIONS, TRACE, PUT, and DELETE) are assumed to be idempotent.
This is the default behavior.
No requests are assumed to be idempotent.
Trait Implementations
impl Clone for Idempotency[src]
impl Clone for Idempotency[src]fn clone(&self) -> Idempotency[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for Idempotency[src]
impl Copy for Idempotency[src]impl Eq for Idempotency[src]
impl Eq for Idempotency[src]impl PartialEq<Idempotency> for Idempotency[src]
impl PartialEq<Idempotency> for Idempotency[src]impl StructuralEq for Idempotency[src]
impl StructuralEq for Idempotency[src]impl StructuralPartialEq for Idempotency[src]
impl StructuralPartialEq for Idempotency[src]Auto Trait Implementations
impl RefUnwindSafe for Idempotency
impl RefUnwindSafe for Idempotencyimpl Send for Idempotency
impl Send for Idempotencyimpl Sync for Idempotency
impl Sync for Idempotencyimpl Unpin for Idempotency
impl Unpin for Idempotencyimpl UnwindSafe for Idempotency
impl UnwindSafe for IdempotencyBlanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,