#[non_exhaustive]pub enum CertSpotterPolicyError {
Show 15 variants
EmptyInput,
InputTooLarge,
MalformedJson,
DuplicateJsonKey,
StructuralLimitExceeded,
InvalidPolicy,
UnsupportedSchema,
InvalidRevision,
InvalidQueryDomain,
InvalidQueryReference,
ProviderUseNotAuthorized,
PrivacyDisclosureNotAcknowledged,
ProductionOriginMustBeAbsent,
FixtureOriginRequired,
InvalidFixtureOrigin,
}Expand description
Static, redaction-safe policy rejection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyInput
No exact policy bytes were supplied.
InputTooLarge
Exact policy bytes exceeded the 16-KiB ceiling.
MalformedJson
The input was not one complete JSON value.
DuplicateJsonKey
A JSON object contained a duplicate decoded key.
StructuralLimitExceeded
A JSON structural bound was exceeded.
InvalidPolicy
A required field, type, closed token, or unknown field was invalid.
UnsupportedSchema
The policy did not select the exact supported schema.
InvalidRevision
The opaque policy revision violated its safe bounded syntax.
InvalidQueryDomain
The query was not a multi-label, non-wildcard ASCII DNS name.
InvalidQueryReference
The opaque query reference violated its safe bounded syntax.
ProviderUseNotAuthorized
Provider use was not affirmatively authorized.
PrivacyDisclosureNotAcknowledged
The privacy disclosure was not affirmatively acknowledged.
ProductionOriginMustBeAbsent
Production policy attempted to override the fixed provider origin.
FixtureOriginRequired
Fixture mode omitted its explicitly owned loopback origin.
InvalidFixtureOrigin
Fixture origin was not root-only HTTP on a numeric loopback and explicit port.
Trait Implementations§
Source§impl Clone for CertSpotterPolicyError
impl Clone for CertSpotterPolicyError
Source§fn clone(&self) -> CertSpotterPolicyError
fn clone(&self) -> CertSpotterPolicyError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CertSpotterPolicyError
Source§impl Debug for CertSpotterPolicyError
impl Debug for CertSpotterPolicyError
Source§impl Display for CertSpotterPolicyError
impl Display for CertSpotterPolicyError
impl Eq for CertSpotterPolicyError
Source§impl Error for CertSpotterPolicyError
impl Error for CertSpotterPolicyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for CertSpotterPolicyError
impl PartialEq for CertSpotterPolicyError
impl StructuralPartialEq for CertSpotterPolicyError
Auto Trait Implementations§
impl Freeze for CertSpotterPolicyError
impl RefUnwindSafe for CertSpotterPolicyError
impl Send for CertSpotterPolicyError
impl Sync for CertSpotterPolicyError
impl Unpin for CertSpotterPolicyError
impl UnsafeUnpin for CertSpotterPolicyError
impl UnwindSafe for CertSpotterPolicyError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.