pub enum IdempotencyIntentError {
TooShort,
TooLong,
AllZero,
}Expand description
Invalid caller-provided idempotency intent.
Variants§
TooShort
The identifier does not meet the minimum entropy-bearing length.
TooLong
The identifier exceeds the bounded intent length.
AllZero
An all-zero identifier cannot represent caller-provided entropy.
Trait Implementations§
Source§impl Clone for IdempotencyIntentError
impl Clone for IdempotencyIntentError
Source§fn clone(&self) -> IdempotencyIntentError
fn clone(&self) -> IdempotencyIntentError
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 IdempotencyIntentError
Source§impl Debug for IdempotencyIntentError
impl Debug for IdempotencyIntentError
Source§impl Display for IdempotencyIntentError
impl Display for IdempotencyIntentError
impl Eq for IdempotencyIntentError
Source§impl Error for IdempotencyIntentError
impl Error for IdempotencyIntentError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for IdempotencyIntentError
impl PartialEq for IdempotencyIntentError
impl StructuralPartialEq for IdempotencyIntentError
Auto Trait Implementations§
impl Freeze for IdempotencyIntentError
impl RefUnwindSafe for IdempotencyIntentError
impl Send for IdempotencyIntentError
impl Sync for IdempotencyIntentError
impl Unpin for IdempotencyIntentError
impl UnsafeUnpin for IdempotencyIntentError
impl UnwindSafe for IdempotencyIntentError
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