Enum AuthorizationDiagnosticCode
pub enum AuthorizationDiagnosticCode {
MissingPermission,
ScanBudgetExceeded,
TenantScopeMismatch,
PartitionScopeMismatch,
FieldVisibilityDenied,
RowPolicyDenied,
ApprovalRequired,
DelegationExceedsAuthority,
InactiveOrStaleCapability,
}Expand description
Closed, value-free authorization denial classification for opt-in
developer diagnostics (authorization_diagnostics).
Variants§
MissingPermission
The capability lacks the required operation permission atom.
ScanBudgetExceeded
The query step row bound or cost vector exceeds the capability scan budget.
TenantScopeMismatch
The request tenant is outside the capability’s tenant scope.
PartitionScopeMismatch
The request partition is outside the capability’s partition scope.
FieldVisibilityDenied
At least one accessed or projected field is not visible to the capability.
RowPolicyDenied
Row-level policy or principal fact binding denied the operation.
ApprovalRequired
The operation requires a validated approval reference.
DelegationExceedsAuthority
Capability delegation exceeds parent authority.
InactiveOrStaleCapability
The capability is inactive, expired, or bound to another database/environment.
Implementations§
§impl AuthorizationDiagnosticCode
impl AuthorizationDiagnosticCode
pub const ALL: [AuthorizationDiagnosticCode; 9]
pub const ALL: [AuthorizationDiagnosticCode; 9]
Complete closed inventory of authorization diagnostic codes.
pub fn from_str_name(value: &str) -> Option<AuthorizationDiagnosticCode>
pub fn from_str_name(value: &str) -> Option<AuthorizationDiagnosticCode>
Parses one closed machine-safe diagnostic symbol.
Trait Implementations§
§impl Clone for AuthorizationDiagnosticCode
impl Clone for AuthorizationDiagnosticCode
§fn clone(&self) -> AuthorizationDiagnosticCode
fn clone(&self) -> AuthorizationDiagnosticCode
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 AuthorizationDiagnosticCode
§impl Debug for AuthorizationDiagnosticCode
impl Debug for AuthorizationDiagnosticCode
impl Eq for AuthorizationDiagnosticCode
§impl Hash for AuthorizationDiagnosticCode
impl Hash for AuthorizationDiagnosticCode
§impl Ord for AuthorizationDiagnosticCode
impl Ord for AuthorizationDiagnosticCode
§fn cmp(&self, other: &AuthorizationDiagnosticCode) -> Ordering
fn cmp(&self, other: &AuthorizationDiagnosticCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
§impl PartialEq for AuthorizationDiagnosticCode
impl PartialEq for AuthorizationDiagnosticCode
§impl PartialOrd for AuthorizationDiagnosticCode
impl PartialOrd for AuthorizationDiagnosticCode
impl StructuralPartialEq for AuthorizationDiagnosticCode
Auto Trait Implementations§
impl Freeze for AuthorizationDiagnosticCode
impl RefUnwindSafe for AuthorizationDiagnosticCode
impl Send for AuthorizationDiagnosticCode
impl Sync for AuthorizationDiagnosticCode
impl Unpin for AuthorizationDiagnosticCode
impl UnsafeUnpin for AuthorizationDiagnosticCode
impl UnwindSafe for AuthorizationDiagnosticCode
Blanket Implementations§
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].