pub enum ReplayDecision {
New,
Return(StoredResult),
Resume,
RetryLater,
FingerprintMismatch,
}Expand description
What stage 0 does with a request, given its record.
Variants§
New
No record: a new operation, which continues to authorization.
Return(StoredResult)
Committed: return the stored result without running any hook.
Resume
In flight and resumable (UploadPack).
RetryLater
In flight: retryable aborted, before admission.
FingerprintMismatch
The nonce was used for a different operation: invalid_argument.
Trait Implementations§
Source§impl Clone for ReplayDecision
impl Clone for ReplayDecision
Source§impl Debug for ReplayDecision
impl Debug for ReplayDecision
impl Eq for ReplayDecision
Source§impl PartialEq for ReplayDecision
impl PartialEq for ReplayDecision
impl StructuralPartialEq for ReplayDecision
Auto Trait Implementations§
impl Freeze for ReplayDecision
impl RefUnwindSafe for ReplayDecision
impl Send for ReplayDecision
impl Sync for ReplayDecision
impl Unpin for ReplayDecision
impl UnsafeUnpin for ReplayDecision
impl UnwindSafe for ReplayDecision
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