pub enum ProgramErrorKind {
Show 13 variants
Document(DocumentError),
Canonical(CanonicalError),
Bound {
what: &'static str,
min: usize,
max: usize,
found: usize,
},
BackendId,
UnsupportedOperation,
PropositionOptions,
Duplicate {
what: &'static str,
name: String,
},
UnknownOption(String),
UnknownField(String),
Reference(String),
FieldType {
field: String,
found: FieldType,
},
EqualsValue(String),
Interpretation,
}Variants§
Document(DocumentError)
The bytes are not a rustev.rules/1 document.
Canonical(CanonicalError)
The program has no canonical form.
Bound
A count or length outside its bound.
BackendId
UnsupportedOperation
rank, which this backend does not answer.
PropositionOptions
A proposition’s options are not ["false", "true"].
Duplicate
UnknownOption(String)
UnknownField(String)
Reference(String)
A field ref is not input:<name> or bind:<name>, with at most one
/<member>.
FieldType
A field of a type the condition or contribution does not accept.
EqualsValue(String)
An equals value that is not the canonical text of its field type.
Interpretation
Blank interpretation.
Trait Implementations§
Source§impl Clone for ProgramErrorKind
impl Clone for ProgramErrorKind
Source§impl Debug for ProgramErrorKind
impl Debug for ProgramErrorKind
impl Eq for ProgramErrorKind
Source§impl PartialEq for ProgramErrorKind
impl PartialEq for ProgramErrorKind
impl StructuralPartialEq for ProgramErrorKind
Auto Trait Implementations§
impl Freeze for ProgramErrorKind
impl RefUnwindSafe for ProgramErrorKind
impl Send for ProgramErrorKind
impl Sync for ProgramErrorKind
impl Unpin for ProgramErrorKind
impl UnsafeUnpin for ProgramErrorKind
impl UnwindSafe for ProgramErrorKind
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