pub enum ReceiptStatus {
Succeeded,
Failed,
Denied,
TimedOut,
Cancelled,
Skipped,
UnknownTool,
InvalidArguments,
Indeterminate,
Answered,
}Variants§
Succeeded
Failed
Ran and reported failure, or returned a crate::ToolError.
Denied
A hook or the user refused it.
TimedOut
Cancelled
Skipped
Never started: a limit was reached or the stuck detector stopped the run earlier in the same batch.
UnknownTool
InvalidArguments
Indeterminate
The call may or may not have completed: the process stopped while it was running. An abandoned run does not re-run it, even if idempotent.
Answered
A hook answered in the tool’s place (crate::ToolDecision::Answer):
the tool did not run now. Not a success: no work happened.
Trait Implementations§
Source§impl Clone for ReceiptStatus
impl Clone for ReceiptStatus
impl Copy for ReceiptStatus
Source§impl Debug for ReceiptStatus
impl Debug for ReceiptStatus
Source§impl<'de> Deserialize<'de> for ReceiptStatus
impl<'de> Deserialize<'de> for ReceiptStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReceiptStatus
Source§impl PartialEq for ReceiptStatus
impl PartialEq for ReceiptStatus
Source§impl Serialize for ReceiptStatus
impl Serialize for ReceiptStatus
impl StructuralPartialEq for ReceiptStatus
Auto Trait Implementations§
impl Forget for ReceiptStatus
impl Freeze for ReceiptStatus
impl Move for ReceiptStatus
impl RefUnwindSafe for ReceiptStatus
impl Send for ReceiptStatus
impl Sync for ReceiptStatus
impl Unpin for ReceiptStatus
impl UnsafeUnpin for ReceiptStatus
impl UnwindSafe for ReceiptStatus
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