pub enum Denial {
Show 24 variants
UnknownResource,
UnsupportedWidth,
UnsupportedAccessClass,
Misaligned,
OffsetOverflow,
OutOfLogicalBounds,
OutOfMappedBounds,
NotPermittedByCeiling,
HardDenied,
UnknownReadsNotPermitted,
PollNotPermitted,
NotInAllowlist,
LimitExceeded,
StaleIdentity,
MutationLeaseContention,
NotAccepting,
UnsupportedExpectation,
PreconditionFailed,
MissingPrecondition,
Timeout,
ReadOnlySession,
WriteNotPermitted,
UnsupportedMethod,
TransferTooLarge,
}Expand description
Why an access or allowlist rule was rejected. Reasons stay machine-readable; they must never exist only in a human detail string.
Variants§
UnknownResource
The resource ID is not offered by this proxy instance.
UnsupportedWidth
The requested width is not supported.
UnsupportedAccessClass
The requested access class is not supported by the V1 executor.
Misaligned
The offset is not aligned to the access width.
OffsetOverflow
offset + width overflows.
OutOfLogicalBounds
The access does not fit the logical resource size.
OutOfMappedBounds
The access does not fit the actual backing mapping.
NotPermittedByCeiling
The target ceiling has no entry for this resource.
HardDenied
The offset lies in a hard-denied range; operator consent cannot enable it.
UnknownReadsNotPermitted
The ceiling does not permit operator-authorized unknown reads on this resource.
PollNotPermitted
The ceiling does not permit polling on this resource.
NotInAllowlist
No exact session allowlist rule matches the access.
LimitExceeded
A bounded-execution limit (for example maximum snapshot items) was exceeded.
StaleIdentity
A session-open expectation (boot, generation, or digest) was stale. Used in audit records for rejected session opens.
MutationLeaseContention
The exclusive mutation lease was already held.
NotAccepting
The proxy is stopping and accepts no new sessions.
UnsupportedExpectation
The request set a field this phase does not implement (for example a phase 2 takeover expectation). Fail closed rather than silently ignoring the field.
PreconditionFailed
A precondition specified for a write failed.
MissingPrecondition
Target policy requires a precondition, but none was provided.
Timeout
An asynchronous poll timed out without matching.
ReadOnlySession
A write was attempted in a read-only session.
WriteNotPermitted
A write was attempted to an offset or bits not permitted by target policy.
UnsupportedMethod
A requested protocol method is not permitted by target policy.
TransferTooLarge
A requested protocol transfer exceeds maximum allowed size.
Trait Implementations§
impl Copy for Denial
impl Eq for Denial
impl StructuralPartialEq for Denial
Auto Trait Implementations§
impl Freeze for Denial
impl RefUnwindSafe for Denial
impl Send for Denial
impl Sync for Denial
impl Unpin for Denial
impl UnsafeUnpin for Denial
impl UnwindSafe for Denial
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> 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.