pub enum TableError {
WrongColumnCount(usize, usize),
WrongKeyColumnCount(usize, usize),
TransportError(Error),
}Expand description
A failed Table operation.
Variants§
WrongColumnCount(usize, usize)
The wrong number of columns was given when inserting a row.
WrongKeyColumnCount(usize, usize)
The wrong number of key columns was given when modifying a row.
TransportError(Error)
The underlying connection to Noria produced an error.
Trait Implementations§
Source§impl Debug for TableError
impl Debug for TableError
Source§impl Display for TableError
impl Display for TableError
Source§impl Fail for TableError
impl Fail for TableError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl Freeze for TableError
impl !RefUnwindSafe for TableError
impl Send for TableError
impl Sync for TableError
impl Unpin for TableError
impl UnsafeUnpin for TableError
impl !UnwindSafe for TableError
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