pub enum R6Violation {
Show 13 variants
MissingFromTo {
performative: String,
},
UndeclaredRole {
performative: String,
role: String,
},
StrayAnnotation {
performative: String,
},
ChooserIncoherent {
members: Vec<String>,
},
NotCausallyLocal {
performative: String,
predecessor: String,
role: String,
},
UnreachableRole {
role: String,
},
MalformedRoles {
detail: String,
},
MalformedFromTo {
performative: String,
detail: String,
},
MalformedCast {
detail: String,
},
UnknownRole {
role: String,
},
ArityMismatch {
role: String,
keys: usize,
},
PerOccupantLocalityFailure {
performative: String,
occupant: String,
},
DialectPinMismatch {
pinned: String,
installed: String,
},
}Expand description
R6 violation (CON-603): one variant per rejectable condition, each carrying the names needed to locate the defect.
Variants§
MissingFromTo
REQ-601: a protocol performative lacks :from or :to.
UndeclaredRole
REQ-602: :from/:to names a role absent from :roles.
StrayAnnotation
REQ-602: :from/:to present while no :roles is declared.
ChooserIncoherent
REQ-603: a choice whose members do not share one sender role.
NotCausallyLocal
REQ-604: an endpoint role of performative is not an endpoint role
of predecessor.
UnreachableRole
REQ-605: a declared role unreachable from begin.
MalformedRoles
CON-600: malformed :roles value.
MalformedFromTo
CON-600: malformed :from/:to value.
MalformedCast
CON-601: malformed with-roles bindings.
UnknownRole
CON-601: a cast binding names a role not declared in :roles.
ArityMismatch
CON-601: a singleton role bound to a number of keys other than one.
PerOccupantLocalityFailure
REQ-608: per-occupant causal locality fails at occupant.
DialectPinMismatch
REQ-628: the root’s :dialect pin differs from the installed
dialect’s content hash.