Enum conjure_runtime::Idempotency [−][src]
#[non_exhaustive]
pub enum Idempotency {
Always,
ByMethod,
Never,
}Expand description
Specifies the manner in which the client decides if a request is idempotent or not.
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.
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
Auto Trait Implementations
impl RefUnwindSafe for Idempotency
impl Send for Idempotency
impl Sync for Idempotency
impl Unpin for Idempotency
impl UnwindSafe for Idempotency
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more