pub struct InvalidOutcome {
pub failure: ValidateFailure,
pub solution_set_index: usize,
}
Expand description
Outcome of an invalid block. Contains the failure reason and the index of the solution that caused the failure.
Fields§
§failure: ValidateFailure
The reason for the block to be invalid.
solution_set_index: usize
The index of the solution set that caused the failure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InvalidOutcome
impl !RefUnwindSafe for InvalidOutcome
impl Send for InvalidOutcome
impl Sync for InvalidOutcome
impl Unpin for InvalidOutcome
impl !UnwindSafe for InvalidOutcome
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