pub enum Outcome {
Success,
Miss,
RateLimited,
Invalid,
Replay,
Error,
}Expand description
Outcome label for metrics that distinguish result categories.
Uses stable string values so metric dimensions don’t change between codlet versions.
Variants§
Success
Code issue, claim won, session issue, form-token Proceed.
Miss
Claim lost, session missing/expired/revoked.
RateLimited
Rate-limit threshold exceeded.
Invalid
Invalid input, wrong binding, expired token.
Replay
Replay detected on form-token or idempotency path.
Error
Transient store or key error.
Implementations§
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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