#[non_exhaustive]pub enum ApiVisibilityEvidenceError {
Show 15 variants
ZeroLimit {
dimension: &'static str,
},
HardLimitExceeded {
dimension: &'static str,
actual: u64,
maximum: u64,
},
EmptyHandle {
field: &'static str,
},
HandleTooLong {
field: &'static str,
maximum: usize,
},
InvalidHttpStatus {
status: u16,
},
DepthLimitExceeded {
limit: u16,
observed: u64,
},
NodeLimitExceeded {
limit: u32,
observed: u64,
},
FieldLimitExceeded {
limit: u32,
observed: u64,
},
CanonicalBytesLimitExceeded {
signature: &'static str,
limit: u64,
observed: u64,
},
LimitsMismatch,
IdenticalContexts,
ResourceScopeMismatch,
SurfaceMismatch,
UnsupportedDimension,
Vocabulary(ApiVocabularyError),
}Expand description
Validation and canonicalization failures for API visibility evidence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ZeroLimit
A configurable resource limit was zero.
HardLimitExceeded
A configurable resource limit exceeded its compiled hard ceiling.
Fields
EmptyHandle
An opaque context or scope handle was empty.
HandleTooLong
An opaque context or scope handle exceeded the bounded core contract.
InvalidHttpStatus
A response status was outside the standard HTTP range.
DepthLimitExceeded
JSON nesting exceeded the selected policy.
NodeLimitExceeded
JSON value count exceeded the selected policy.
FieldLimitExceeded
Object-member count exceeded the selected policy.
CanonicalBytesLimitExceeded
A canonical signature stream exceeded the selected byte policy.
Fields
LimitsMismatch
Views captured under another policy cannot be mixed silently.
IdenticalContexts
A pair must compare two distinct authorization or presentation contexts.
ResourceScopeMismatch
Both views must describe the same host-asserted logical resource.
SurfaceMismatch
Both views must describe the same declared API surface.
UnsupportedDimension
A future core dimension is not yet supported by this comparator version.
Vocabulary(ApiVocabularyError)
The resulting core comparison contract rejected an identifier or value.
Trait Implementations§
Source§impl Clone for ApiVisibilityEvidenceError
impl Clone for ApiVisibilityEvidenceError
Source§fn clone(&self) -> ApiVisibilityEvidenceError
fn clone(&self) -> ApiVisibilityEvidenceError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApiVisibilityEvidenceError
impl Debug for ApiVisibilityEvidenceError
Source§impl Display for ApiVisibilityEvidenceError
impl Display for ApiVisibilityEvidenceError
impl Eq for ApiVisibilityEvidenceError
Source§impl Error for ApiVisibilityEvidenceError
impl Error for ApiVisibilityEvidenceError
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 From<ApiVisibilityEvidenceError> for ProfiledApiVisibilityError
impl From<ApiVisibilityEvidenceError> for ProfiledApiVisibilityError
Source§fn from(source: ApiVisibilityEvidenceError) -> Self
fn from(source: ApiVisibilityEvidenceError) -> Self
Source§impl From<ApiVocabularyError> for ApiVisibilityEvidenceError
impl From<ApiVocabularyError> for ApiVisibilityEvidenceError
Source§fn from(source: ApiVocabularyError) -> Self
fn from(source: ApiVocabularyError) -> Self
impl StructuralPartialEq for ApiVisibilityEvidenceError
Auto Trait Implementations§
impl Freeze for ApiVisibilityEvidenceError
impl RefUnwindSafe for ApiVisibilityEvidenceError
impl Send for ApiVisibilityEvidenceError
impl Sync for ApiVisibilityEvidenceError
impl Unpin for ApiVisibilityEvidenceError
impl UnsafeUnpin for ApiVisibilityEvidenceError
impl UnwindSafe for ApiVisibilityEvidenceError
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.