#[non_exhaustive]pub enum AuthorizationDifferentialError {
RoleSetMismatch,
PolicyMismatch,
ResourceMismatch,
ReceiptMismatch,
ViewContractMismatch,
Comparison(ProfiledApiVisibilityError),
}Expand description
Internal correlation/comparator failure.
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.
RoleSetMismatch
The view set did not contain each V1 role exactly once.
PolicyMismatch
One view was captured under another policy.
ResourceMismatch
One view was captured for another resource scope.
ReceiptMismatch
Receipt correlation identities were duplicated.
ViewContractMismatch
A complete view did not retain the required internal comparison state.
Comparison(ProfiledApiVisibilityError)
Existing value-sensitive comparison failed its contract.
Trait Implementations§
Source§impl Clone for AuthorizationDifferentialError
impl Clone for AuthorizationDifferentialError
Source§fn clone(&self) -> AuthorizationDifferentialError
fn clone(&self) -> AuthorizationDifferentialError
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 Eq for AuthorizationDifferentialError
Source§impl Error for AuthorizationDifferentialError
impl Error for AuthorizationDifferentialError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ProfiledApiVisibilityError> for AuthorizationDifferentialError
impl From<ProfiledApiVisibilityError> for AuthorizationDifferentialError
Source§fn from(source: ProfiledApiVisibilityError) -> Self
fn from(source: ProfiledApiVisibilityError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for AuthorizationDifferentialError
Auto Trait Implementations§
impl Freeze for AuthorizationDifferentialError
impl RefUnwindSafe for AuthorizationDifferentialError
impl Send for AuthorizationDifferentialError
impl Sync for AuthorizationDifferentialError
impl Unpin for AuthorizationDifferentialError
impl UnsafeUnpin for AuthorizationDifferentialError
impl UnwindSafe for AuthorizationDifferentialError
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