Enum prost_types::method_options::IdempotencyLevel [−][src]
#[repr(i32)]
pub enum IdempotencyLevel {
IdempotencyUnknown,
NoSideEffects,
Idempotent,
}
Expand description
Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.
Variants
implies idempotent
idempotent, but may have side effects
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for IdempotencyLevel
impl Send for IdempotencyLevel
impl Sync for IdempotencyLevel
impl Unpin for IdempotencyLevel
impl UnwindSafe for IdempotencyLevel
Blanket Implementations
Mutably borrows from an owned value. Read more