#[non_exhaustive]pub enum ApiVisibilityDifferentialRequestError {
Show 17 variants
Vocabulary(ApiVocabularyError),
IdenticalContextHandles,
UnsupportedMethod,
UrlFragment,
RequestTargetMismatch,
RequestTargetTooLong,
InsecureAuthenticatedTransport,
UnsupportedDimension,
EmptyContextHeaders,
InvalidContextHeaders,
UnsupportedContextHeader,
TooManyHeaders,
HeaderValueTooLong,
TotalHeaderBytesTooLarge,
UnusedContextHeader,
RequestTemplateMismatch,
IdenticalAuthorizationContext,
}Expand description
Validation failure for an authorization-context pair.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Vocabulary(ApiVocabularyError)
A typed comparison, context, or scope identifier was invalid.
IdenticalContextHandles
Control and candidate handles must describe distinct contexts.
UnsupportedMethod
The first native capability accepts discovery-only GET requests.
UrlFragment
URL fragments are not transmitted and cannot participate in identity.
RequestTargetMismatch
Authorization contexts must request the exact same URL.
RequestTargetTooLong
The bounded native slice rejects excessively large target identities.
InsecureAuthenticatedTransport
Credentials require TLS except on an exact loopback fixture target.
UnsupportedDimension
The comparator does not implement the requested dimension.
EmptyContextHeaders
At least one header must be declared context-owned.
InvalidContextHeaders
The context-header set was malformed or exceeded its compiled bound.
UnsupportedContextHeader
Only explicit credential and supporting anti-CSRF headers are accepted.
TooManyHeaders
The complete request header set exceeded its compiled count ceiling.
HeaderValueTooLong
One request header value exceeded its compiled byte ceiling.
TotalHeaderBytesTooLarge
One request’s complete header material exceeded its compiled byte ceiling.
UnusedContextHeader
A declared context header did not occur in either request.
RequestTemplateMismatch
A non-context request header differed across the pair.
IdenticalAuthorizationContext
Distinct labels cannot disguise identical authorization material.
Trait Implementations§
Source§impl Error for ApiVisibilityDifferentialRequestError
impl Error for ApiVisibilityDifferentialRequestError
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()