pub enum XmlExternalEntityReviewPolicyError {
Show 13 variants
PolicyTooLarge,
MalformedPolicy,
UnsupportedSchema,
InvalidMethod,
InvalidMediaType,
AcknowledgementRequired,
InvalidLimits,
InvalidAssessmentTarget,
InvalidEndpoint,
TargetOriginMismatch,
EndpointOutsideApplication,
InvalidProviderOrigin,
ProviderOriginMatchesTarget,
}Expand description
Static, value-free policy validation failure.
Variants§
PolicyTooLarge
Input exceeded the compiled source ceiling.
MalformedPolicy
TOML, UTF-8, required fields, or scalar types were invalid.
UnsupportedSchema
The policy schema is not implemented.
InvalidMethod
The method was not exact uppercase POST.
InvalidMediaType
The media type was not the exact V1 XML media type.
AcknowledgementRequired
At least one explicit operator acknowledgement was absent.
InvalidLimits
One of the fixed V1 scheduling limits was outside its range.
InvalidAssessmentTarget
The assessment target was not one production HTTPS/DNS application.
InvalidEndpoint
The declared endpoint was not one bounded exact URL.
TargetOriginMismatch
The declared endpoint did not share the assessment’s exact origin.
EndpointOutsideApplication
The declared endpoint escaped the assessment application’s path boundary.
InvalidProviderOrigin
The provider was not one exact supported origin.
ProviderOriginMatchesTarget
Provider and target origins must be distinct.
Trait Implementations§
Source§impl Clone for XmlExternalEntityReviewPolicyError
impl Clone for XmlExternalEntityReviewPolicyError
Source§fn clone(&self) -> XmlExternalEntityReviewPolicyError
fn clone(&self) -> XmlExternalEntityReviewPolicyError
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 XmlExternalEntityReviewPolicyError
impl Eq for XmlExternalEntityReviewPolicyError
Source§impl Error for XmlExternalEntityReviewPolicyError
impl Error for XmlExternalEntityReviewPolicyError
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()
impl StructuralPartialEq for XmlExternalEntityReviewPolicyError
Auto Trait Implementations§
impl Freeze for XmlExternalEntityReviewPolicyError
impl RefUnwindSafe for XmlExternalEntityReviewPolicyError
impl Send for XmlExternalEntityReviewPolicyError
impl Sync for XmlExternalEntityReviewPolicyError
impl Unpin for XmlExternalEntityReviewPolicyError
impl UnsafeUnpin for XmlExternalEntityReviewPolicyError
impl UnwindSafe for XmlExternalEntityReviewPolicyError
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.