pub enum ProtectedHealthCheckError {
Invalid(&'static str),
Value(SecretValueError),
FingerprintMismatch,
FingerprintMissing,
}Expand description
Why a protected health-check order was refused. Static on purpose: neither a value, nor any length of one, appears in a diagnostic.
Variants§
Invalid(&'static str)
A rule of validate_health_check_config or
validate_health_check_header_values.
Value(SecretValueError)
FingerprintMismatch
FingerprintMissing
Trait Implementations§
Source§impl Clone for ProtectedHealthCheckError
impl Clone for ProtectedHealthCheckError
impl Copy for ProtectedHealthCheckError
Source§impl Debug for ProtectedHealthCheckError
impl Debug for ProtectedHealthCheckError
Source§impl Display for ProtectedHealthCheckError
impl Display for ProtectedHealthCheckError
impl Eq for ProtectedHealthCheckError
Source§impl Error for ProtectedHealthCheckError
impl Error for ProtectedHealthCheckError
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 From<SecretValueError> for ProtectedHealthCheckError
impl From<SecretValueError> for ProtectedHealthCheckError
Source§fn from(source: SecretValueError) -> Self
fn from(source: SecretValueError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ProtectedHealthCheckError
Auto Trait Implementations§
impl Freeze for ProtectedHealthCheckError
impl RefUnwindSafe for ProtectedHealthCheckError
impl Send for ProtectedHealthCheckError
impl Sync for ProtectedHealthCheckError
impl Unpin for ProtectedHealthCheckError
impl UnsafeUnpin for ProtectedHealthCheckError
impl UnwindSafe for ProtectedHealthCheckError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.