pub enum ReviewRepairError {
AlreadyStopped(StopReason),
Stopped(StopReason),
IncompleteReceipt(String),
}Expand description
Refusal from ReviewRepairLoop::begin_iteration or
ReviewRepairLoop::record_iteration.
Variants§
AlreadyStopped(StopReason)
The loop already stopped; it does not restart.
Stopped(StopReason)
A ceiling or fail-closed condition ended the loop on this call.
IncompleteReceipt(String)
The receipt itself was unusable.
Implementations§
Source§impl ReviewRepairError
impl ReviewRepairError
Sourcepub fn stop_reason(&self) -> Option<&StopReason>
pub fn stop_reason(&self) -> Option<&StopReason>
The terminal reason, when this refusal carries one.
Trait Implementations§
Source§impl Clone for ReviewRepairError
impl Clone for ReviewRepairError
Source§fn clone(&self) -> ReviewRepairError
fn clone(&self) -> ReviewRepairError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReviewRepairError
impl Debug for ReviewRepairError
Source§impl Display for ReviewRepairError
impl Display for ReviewRepairError
impl Eq for ReviewRepairError
Source§impl Error for ReviewRepairError
impl Error for ReviewRepairError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReviewRepairError
impl PartialEq for ReviewRepairError
impl StructuralPartialEq for ReviewRepairError
Auto Trait Implementations§
impl Freeze for ReviewRepairError
impl RefUnwindSafe for ReviewRepairError
impl Send for ReviewRepairError
impl Sync for ReviewRepairError
impl Unpin for ReviewRepairError
impl UnsafeUnpin for ReviewRepairError
impl UnwindSafe for ReviewRepairError
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