Enum mentat_query_algebrizer::BindingError
[−]
[src]
pub enum BindingError { NoBoundVariable, UnexpectedBinding, RepeatedBoundVariable, ExpectedBindRel, ExpectedBindRelOrBindColl, InvalidNumberOfBindings { number: usize, expected: usize, }, }
Variants
NoBoundVariable
UnexpectedBinding
RepeatedBoundVariable
ExpectedBindRel
Expected [[?x ?y]]
but got some other type of binding. Mentat is deliberately more strict
than Datomic: we won't try to make sense of non-obvious (and potentially erroneous) bindings.
ExpectedBindRelOrBindColl
Expected [[?x ?y]]
or [?x ...]
but got some other type of binding. Mentat is
deliberately more strict than Datomic: we won't try to make sense of non-obvious (and
potentially erroneous) bindings.
InvalidNumberOfBindings
Expected [?x1 … ?xN]
or [[?x1 … ?xN]]
but got some other number of bindings. Mentat is
deliberately more strict than Datomic: we prefer placeholders to omission.
Fields of InvalidNumberOfBindings
number: usize | |
expected: usize |
Trait Implementations
impl Clone for BindingError
[src]
impl Clone for BindingError
fn clone(&self) -> BindingError
[src]
fn clone(&self) -> BindingError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for BindingError
[src]
impl Debug for BindingError
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for BindingError
[src]
impl Eq for BindingError
impl PartialEq for BindingError
[src]
impl PartialEq for BindingError
fn eq(&self, __arg_0: &BindingError) -> bool
[src]
fn eq(&self, __arg_0: &BindingError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BindingError) -> bool
[src]
fn ne(&self, __arg_0: &BindingError) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for BindingError
impl Send for BindingError
impl Sync for BindingError
impl Sync for BindingError