pub struct BrokenEdge {
pub invariant: String,
pub detail: String,
}Expand description
Failing edge for VerifiedTrustState::Broken. invariant is a stable
string from crate::invariant; detail is a human-readable explanation
for operators and logs.
Fields§
§invariant: StringStable invariant name (e.g. verifier.witness.disagreement).
detail: StringOperator-readable detail string.
Implementations§
Trait Implementations§
Source§impl Clone for BrokenEdge
impl Clone for BrokenEdge
Source§fn clone(&self) -> BrokenEdge
fn clone(&self) -> BrokenEdge
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 BrokenEdge
impl Debug for BrokenEdge
Source§impl<'de> Deserialize<'de> for BrokenEdge
impl<'de> Deserialize<'de> for BrokenEdge
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BrokenEdge
impl PartialEq for BrokenEdge
Source§fn eq(&self, other: &BrokenEdge) -> bool
fn eq(&self, other: &BrokenEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BrokenEdge
impl Serialize for BrokenEdge
impl Eq for BrokenEdge
impl StructuralPartialEq for BrokenEdge
Auto Trait Implementations§
impl Freeze for BrokenEdge
impl RefUnwindSafe for BrokenEdge
impl Send for BrokenEdge
impl Sync for BrokenEdge
impl Unpin for BrokenEdge
impl UnsafeUnpin for BrokenEdge
impl UnwindSafe for BrokenEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.