pub enum EvaluatorError {
InvalidEvidence,
Contract(EvaluationError),
}Expand description
Errors raised before a safe evaluator outcome can be constructed.
Variants§
InvalidEvidence
Evidence omitted its producer identity or integrity digest.
Contract(EvaluationError)
The claim subject or report violated the P2 contract.
Trait Implementations§
Source§impl Debug for EvaluatorError
impl Debug for EvaluatorError
Source§impl Display for EvaluatorError
impl Display for EvaluatorError
Source§impl Error for EvaluatorError
impl Error for EvaluatorError
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 From<EvaluationError> for EvaluatorError
impl From<EvaluationError> for EvaluatorError
Source§fn from(source: EvaluationError) -> EvaluatorError
fn from(source: EvaluationError) -> EvaluatorError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EvaluatorError
impl RefUnwindSafe for EvaluatorError
impl Send for EvaluatorError
impl Sync for EvaluatorError
impl Unpin for EvaluatorError
impl UnsafeUnpin for EvaluatorError
impl UnwindSafe for EvaluatorError
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