#[non_exhaustive]pub enum AuthorizationReviewBodyState {
CompleteJson,
UnsupportedMedia,
Html,
Redirect,
RateLimited,
ServerError,
MalformedJson,
Truncated,
Incomplete,
BudgetExhausted,
Cancelled,
DefensiveInterference,
}Expand description
Bounded response state supplied by a host/runtime before pure comparison.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CompleteJson
Complete, non-truncated JSON-compatible response captured below.
UnsupportedMedia
Media type is not JSON-compatible.
Html
A non-JSON HTML response was observed.
Redirect
Redirect response; it must not be followed.
RateLimited
Typed rate-limit response.
ServerError
Server-side failure response.
MalformedJson
JSON parsing failed within the bounded parser.
Truncated
Retained bytes are truncated.
Incomplete
Transport or response completion was not proven.
BudgetExhausted
Shared runtime budget was exhausted.
Cancelled
Shared cancellation fired.
DefensiveInterference
Challenge or defense engagement made comparison ambiguous.
Trait Implementations§
Source§impl Clone for AuthorizationReviewBodyState
impl Clone for AuthorizationReviewBodyState
Source§fn clone(&self) -> AuthorizationReviewBodyState
fn clone(&self) -> AuthorizationReviewBodyState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthorizationReviewBodyState
Source§impl Debug for AuthorizationReviewBodyState
impl Debug for AuthorizationReviewBodyState
impl Eq for AuthorizationReviewBodyState
impl StructuralPartialEq for AuthorizationReviewBodyState
Auto Trait Implementations§
impl Freeze for AuthorizationReviewBodyState
impl RefUnwindSafe for AuthorizationReviewBodyState
impl Send for AuthorizationReviewBodyState
impl Sync for AuthorizationReviewBodyState
impl Unpin for AuthorizationReviewBodyState
impl UnsafeUnpin for AuthorizationReviewBodyState
impl UnwindSafe for AuthorizationReviewBodyState
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
Mutably borrows from an owned value. Read more
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.§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
Checks if this value is equivalent to the given key. Read more