pub enum CompareProofAndAdvanceError<E> {
Protocol(ResumableJobError),
Operation(E),
}Expand description
Failure from protocol handling or the application page closure.
Variants§
Protocol(ResumableJobError)
IcyDB rejected proof, sequence, bounds, or progress persistence.
Operation(E)
The application page closure returned its own failure.
Trait Implementations§
Source§impl<E: Debug> Debug for CompareProofAndAdvanceError<E>
impl<E: Debug> Debug for CompareProofAndAdvanceError<E>
Source§impl<E: Display> Display for CompareProofAndAdvanceError<E>
impl<E: Display> Display for CompareProofAndAdvanceError<E>
Source§impl<E: StdError + 'static> Error for CompareProofAndAdvanceError<E>
impl<E: StdError + 'static> Error for CompareProofAndAdvanceError<E>
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<E> From<ResumableJobError> for CompareProofAndAdvanceError<E>
impl<E> From<ResumableJobError> for CompareProofAndAdvanceError<E>
Source§fn from(error: ResumableJobError) -> Self
fn from(error: ResumableJobError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for CompareProofAndAdvanceError<E>where
E: Freeze,
impl<E> RefUnwindSafe for CompareProofAndAdvanceError<E>where
E: RefUnwindSafe,
impl<E> Send for CompareProofAndAdvanceError<E>where
E: Send,
impl<E> Sync for CompareProofAndAdvanceError<E>where
E: Sync,
impl<E> Unpin for CompareProofAndAdvanceError<E>where
E: Unpin,
impl<E> UnsafeUnpin for CompareProofAndAdvanceError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for CompareProofAndAdvanceError<E>where
E: UnwindSafe,
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