#[non_exhaustive]pub enum RetrySafety {
Idempotent,
NotIdempotent,
Unknown,
}Expand description
Is running a function twice the same as running it once?
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.
Idempotent
A repeat has the same effect as one run.
NotIdempotent
A repeat has its effect again.
Unknown
Nothing is claimed.
Trait Implementations§
Source§impl Clone for RetrySafety
impl Clone for RetrySafety
impl Copy for RetrySafety
Source§impl Debug for RetrySafety
impl Debug for RetrySafety
Source§impl Default for RetrySafety
impl Default for RetrySafety
impl Eq for RetrySafety
Source§impl PartialEq for RetrySafety
impl PartialEq for RetrySafety
impl StructuralPartialEq for RetrySafety
Auto Trait Implementations§
impl Freeze for RetrySafety
impl RefUnwindSafe for RetrySafety
impl Send for RetrySafety
impl Sync for RetrySafety
impl Unpin for RetrySafety
impl UnsafeUnpin for RetrySafety
impl UnwindSafe for RetrySafety
Blanket Implementations§
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.