pub enum Verdict<T> {
Consistent(T),
Inconsistent(NegativeCycle),
}Expand description
Outcome of a check that answered the question.
Variants§
Consistent(T)
The network is consistent; the payload is a certificate or derived structure.
Inconsistent(NegativeCycle)
The network is inconsistent; the payload names the constraints forming a negative cycle.
Trait Implementations§
impl<T: Eq> Eq for Verdict<T>
impl<T: PartialEq> StructuralPartialEq for Verdict<T>
Auto Trait Implementations§
impl<T> Forget for Verdict<T>
impl<T> Freeze for Verdict<T>where
T: Freeze,
impl<T> Move for Verdict<T>
impl<T> RefUnwindSafe for Verdict<T>where
T: RefUnwindSafe,
impl<T> Send for Verdict<T>where
T: Send,
impl<T> Sync for Verdict<T>where
T: Sync,
impl<T> Unpin for Verdict<T>where
T: Unpin,
impl<T> UnsafeUnpin for Verdict<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Verdict<T>where
T: 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