pub enum FingerprintBuildError<E> {
MissingOperationId,
ScopeTooLong,
LengthOverflow,
OutputTooSmall,
EndpointNotAdmitted,
Hasher(E),
InvalidDigestLength,
}Expand description
Canonical fingerprint or digest construction failure.
Variants§
MissingOperationId
Prepared requests used for retry must have an operation identifier.
ScopeTooLong
Account or tenant scope exceeds the bounded policy.
LengthOverflow
Canonical length arithmetic overflowed.
OutputTooSmall
Caller storage cannot hold the complete canonical fingerprint.
EndpointNotAdmitted
The prepared service policy does not admit the fingerprint endpoint.
Hasher(E)
The caller-provided digest implementation failed.
InvalidDigestLength
The digest implementation returned the wrong initialized length.
Trait Implementations§
Source§impl<E> Debug for FingerprintBuildError<E>
impl<E> Debug for FingerprintBuildError<E>
Source§impl<E> Display for FingerprintBuildError<E>
impl<E> Display for FingerprintBuildError<E>
Source§impl<E> Error for FingerprintBuildError<E>where
E: Error + 'static,
impl<E> Error for FingerprintBuildError<E>where
E: Error + 'static,
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()
Auto Trait Implementations§
impl<E> Freeze for FingerprintBuildError<E>where
E: Freeze,
impl<E> RefUnwindSafe for FingerprintBuildError<E>where
E: RefUnwindSafe,
impl<E> Send for FingerprintBuildError<E>where
E: Send,
impl<E> Sync for FingerprintBuildError<E>where
E: Sync,
impl<E> Unpin for FingerprintBuildError<E>where
E: Unpin,
impl<E> UnsafeUnpin for FingerprintBuildError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for FingerprintBuildError<E>where
E: UnwindSafe,
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