pub enum Outcome {
Claimed {
result: Result<HumanClaim, String>,
},
SavedLocally {
request: Box<Request>,
error: String,
},
Ran {
tool: ToolName,
claimed: Option<HumanClaim>,
result: Result<ToolResult, String>,
},
Submitted {
id: RequestId,
claimed: Option<HumanClaim>,
result: Result<Box<Request>, String>,
},
Released {
ids: Vec<RequestId>,
quit: bool,
failed: Vec<(RequestId, String)>,
},
}Variants§
Claimed
Fields
§
result: Result<HumanClaim, String>SavedLocally
Publishing failed after settlement; never offer to submit the verdict twice.
Ran
Submitted
Released
Implementations§
Trait Implementations§
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