pub enum TermShapeError {
TripleTermNestingExceeded {
depth: usize,
limit: usize,
},
InvalidSkolemArguments,
}Expand description
Invalid term structure, independent of variable binding or rule position.
Variants§
TripleTermNestingExceeded
A structured term exceeds the supported nesting depth.
InvalidSkolemArguments
A Skolem argument is neither a variable nor a constant.
Trait Implementations§
Source§impl Clone for TermShapeError
impl Clone for TermShapeError
Source§impl Debug for TermShapeError
impl Debug for TermShapeError
Source§impl<'de> Deserialize<'de> for TermShapeError
impl<'de> Deserialize<'de> for TermShapeError
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 Display for TermShapeError
impl Display for TermShapeError
impl Eq for TermShapeError
Source§impl Error for TermShapeError
impl Error for TermShapeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TermShapeError
impl PartialEq for TermShapeError
Source§impl Serialize for TermShapeError
impl Serialize for TermShapeError
impl StructuralPartialEq for TermShapeError
Auto Trait Implementations§
impl Freeze for TermShapeError
impl RefUnwindSafe for TermShapeError
impl Send for TermShapeError
impl Sync for TermShapeError
impl Unpin for TermShapeError
impl UnsafeUnpin for TermShapeError
impl UnwindSafe for TermShapeError
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