pub enum CausalViolation {
UnknownPredecessor {
caused_by: String,
},
InvalidPredecessor {
caused_by: String,
expected: Vec<String>,
found: String,
},
MissingCausedBy,
IncompleteFanIn {
missing_types: Vec<String>,
},
ExtraneousPredecessor {
caused_by: String,
found: String,
},
FanInWithoutAllDecl {
performative: String,
},
RoleConformance {
reason: String,
},
}Expand description
Causal verification failure details (CON-202, SPEC-002).
Variants§
UnknownPredecessor
Predecessor hash not found in the message store.
InvalidPredecessor
Predecessor found but has wrong performative type.
MissingCausedBy
Message requires :caused-by but none was provided.
IncompleteFanIn
Fan-in (all ...) has missing predecessor types.
ExtraneousPredecessor
Predecessor found but not declared in the protocol.
FanInWithoutAllDecl
Fan-in without an (all ...) declaration for this performative.
RoleConformance
Role-layer conformance failure (SPEC-014 REQ-612/613/615/618).
Trait Implementations§
Source§impl Clone for CausalViolation
impl Clone for CausalViolation
Source§impl Debug for CausalViolation
impl Debug for CausalViolation
Source§impl Display for CausalViolation
impl Display for CausalViolation
impl Eq for CausalViolation
Source§impl PartialEq for CausalViolation
impl PartialEq for CausalViolation
impl StructuralPartialEq for CausalViolation
Auto Trait Implementations§
impl Forget for CausalViolation
impl Freeze for CausalViolation
impl Move for CausalViolation
impl RefUnwindSafe for CausalViolation
impl Send for CausalViolationwhere
RawVecInner: Send,
impl Sync for CausalViolationwhere
RawVecInner: Sync,
impl Unpin for CausalViolation
impl UnsafeUnpin for CausalViolationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CausalViolationwhere
RawVecInner: 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