#[non_exhaustive]pub enum IssueClaimGrantOutcome {
Granted {
execution_id: ExecutionId,
},
}Expand description
Typed outcome of crate::engine_backend::EngineBackend::issue_claim_grant.
Single-variant today — the Valkey FCALL either writes the grant
and returns Granted, or the Lua reject (capability mismatch,
already-granted, etc.) surfaces as a typed crate::engine_error::EngineError
on the outer Result. #[non_exhaustive] reserves room for
future additive variants without a breaking match-arm churn on
consumers.
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.
Trait Implementations§
Source§impl Clone for IssueClaimGrantOutcome
impl Clone for IssueClaimGrantOutcome
Source§fn clone(&self) -> IssueClaimGrantOutcome
fn clone(&self) -> IssueClaimGrantOutcome
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 Debug for IssueClaimGrantOutcome
impl Debug for IssueClaimGrantOutcome
Source§impl PartialEq for IssueClaimGrantOutcome
impl PartialEq for IssueClaimGrantOutcome
impl Eq for IssueClaimGrantOutcome
impl StructuralPartialEq for IssueClaimGrantOutcome
Auto Trait Implementations§
impl Freeze for IssueClaimGrantOutcome
impl RefUnwindSafe for IssueClaimGrantOutcome
impl Send for IssueClaimGrantOutcome
impl Sync for IssueClaimGrantOutcome
impl Unpin for IssueClaimGrantOutcome
impl UnsafeUnpin for IssueClaimGrantOutcome
impl UnwindSafe for IssueClaimGrantOutcome
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