pub enum QueryRecheckError {
NotText,
Rejected(QueryCheckError),
CnfMismatch,
}Expand description
Why a QueryCertificate::recheck could not confirm the proof.
Variants§
NotText
The LRAT bytes were not valid UTF-8 (only possible for a hand-built certificate).
Rejected(QueryCheckError)
The trusted crate rejected: the DAG is malformed or too large, or the proof does not refute the CNF re-encoded from it.
CnfMismatch
The trusted re-encoding of the DAG is not the CNF the certificate carries — the bundle is internally inconsistent (a v1 reader would be checking a different formula than the query’s).
Trait Implementations§
Source§impl Debug for QueryRecheckError
impl Debug for QueryRecheckError
Source§impl Display for QueryRecheckError
impl Display for QueryRecheckError
Source§impl Error for QueryRecheckError
impl Error for QueryRecheckError
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()
Auto Trait Implementations§
impl Forget for QueryRecheckError
impl Freeze for QueryRecheckError
impl Move for QueryRecheckError
impl RefUnwindSafe for QueryRecheckError
impl Send for QueryRecheckError
impl Sync for QueryRecheckError
impl Unpin for QueryRecheckError
impl UnsafeUnpin for QueryRecheckError
impl UnwindSafe for QueryRecheckError
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