pub enum TableOpError {
NotATableCall,
UnknownOp(String),
BadArity(String),
BadArg(String),
}Expand description
Why decoding an Expr into a TableOp failed.
Variants§
NotATableCall
The Expr was not a table/<op> call at all.
UnknownOp(String)
The operator was in the table namespace but is not a known op.
BadArity(String)
The op was known but had the wrong number of arguments.
BadArg(String)
An argument had the wrong kind for the op.
Trait Implementations§
Source§impl Clone for TableOpError
impl Clone for TableOpError
Source§fn clone(&self) -> TableOpError
fn clone(&self) -> TableOpError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableOpError
impl Debug for TableOpError
Source§impl PartialEq for TableOpError
impl PartialEq for TableOpError
Source§fn eq(&self, other: &TableOpError) -> bool
fn eq(&self, other: &TableOpError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TableOpError
Auto Trait Implementations§
impl Freeze for TableOpError
impl RefUnwindSafe for TableOpError
impl Send for TableOpError
impl Sync for TableOpError
impl Unpin for TableOpError
impl UnsafeUnpin for TableOpError
impl UnwindSafe for TableOpError
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