Enum kip_sql::execution::ExecutorError
source · pub enum ExecutorError {
CatalogError(CatalogError),
TypeError(TypeError),
StorageError(StorageError),
BindError(BindError),
ParserError(ParserError),
InternalError(String),
Io(Error),
Csv(Error),
LengthMismatch {
expected: usize,
actual: usize,
},
JoinError(JoinError),
ChannelClose,
}
Variants§
CatalogError(CatalogError)
TypeError(TypeError)
StorageError(StorageError)
BindError(BindError)
ParserError(ParserError)
InternalError(String)
Io(Error)
Csv(Error)
LengthMismatch
JoinError(JoinError)
ChannelClose
Trait Implementations§
source§impl Debug for ExecutorError
impl Debug for ExecutorError
source§impl Display for ExecutorError
impl Display for ExecutorError
source§impl Error for ExecutorError
impl Error for ExecutorError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<BindError> for ExecutorError
impl From<BindError> for ExecutorError
source§impl From<CatalogError> for ExecutorError
impl From<CatalogError> for ExecutorError
source§fn from(source: CatalogError) -> Self
fn from(source: CatalogError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ExecutorError
impl From<Error> for ExecutorError
source§impl From<Error> for ExecutorError
impl From<Error> for ExecutorError
source§impl From<ExecutorError> for DatabaseError
impl From<ExecutorError> for DatabaseError
source§fn from(source: ExecutorError) -> Self
fn from(source: ExecutorError) -> Self
Converts to this type from the input type.
source§impl From<JoinError> for ExecutorError
impl From<JoinError> for ExecutorError
source§impl From<ParserError> for ExecutorError
impl From<ParserError> for ExecutorError
source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
Converts to this type from the input type.
source§impl From<StorageError> for ExecutorError
impl From<StorageError> for ExecutorError
source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutorError
impl Send for ExecutorError
impl Sync for ExecutorError
impl Unpin for ExecutorError
impl !UnwindSafe for ExecutorError
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