#[non_exhaustive]pub enum BlockExecutionForAdmissionOutcome {
Blocked {
execution_id: ExecutionId,
reason: BlockingReason,
},
LuaRejected {
message: String,
},
}Expand description
Typed outcome of
crate::engine_backend::EngineBackend::block_execution_for_admission.
Mirrors BlockRouteOutcome but carries the reason so operator
telemetry can distinguish budget-vs-quota-vs-capability rejects.
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.
Blocked
Execution moved eligible → blocked_
LuaRejected
Lua returned a non-success result (e.g. execution went terminal between pick and block).
Trait Implementations§
Source§impl Clone for BlockExecutionForAdmissionOutcome
impl Clone for BlockExecutionForAdmissionOutcome
Source§fn clone(&self) -> BlockExecutionForAdmissionOutcome
fn clone(&self) -> BlockExecutionForAdmissionOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for BlockExecutionForAdmissionOutcome
impl PartialEq for BlockExecutionForAdmissionOutcome
Source§fn eq(&self, other: &BlockExecutionForAdmissionOutcome) -> bool
fn eq(&self, other: &BlockExecutionForAdmissionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BlockExecutionForAdmissionOutcome
impl StructuralPartialEq for BlockExecutionForAdmissionOutcome
Auto Trait Implementations§
impl Freeze for BlockExecutionForAdmissionOutcome
impl RefUnwindSafe for BlockExecutionForAdmissionOutcome
impl Send for BlockExecutionForAdmissionOutcome
impl Sync for BlockExecutionForAdmissionOutcome
impl Unpin for BlockExecutionForAdmissionOutcome
impl UnsafeUnpin for BlockExecutionForAdmissionOutcome
impl UnwindSafe for BlockExecutionForAdmissionOutcome
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
Mutably borrows from an owned value. Read more