pub enum VTableError {
OpenDal(Box<Error>),
Sqlite(Error),
InvalidConfig(String),
MissingParameter(String),
InvalidPath(String),
AsyncError(String),
Custom(String),
}Expand description
The main error type for this library
This enum covers all error cases that can occur during virtual table operations, from configuration issues to storage backend errors.
Variants§
OpenDal(Box<Error>)
Error from the underlying OpenDAL storage layer (boxed to reduce enum size)
Sqlite(Error)
Error from SQLite operations
InvalidConfig(String)
Invalid configuration provided
MissingParameter(String)
Missing required credential or parameter
InvalidPath(String)
Invalid path format
AsyncError(String)
Error during async operation
Custom(String)
Generic error with custom message
Trait Implementations§
Source§impl Debug for VTableError
impl Debug for VTableError
Source§impl Display for VTableError
impl Display for VTableError
Source§impl Error for VTableError
impl Error for VTableError
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 From<Error> for VTableError
impl From<Error> for VTableError
Source§impl From<Error> for VTableError
impl From<Error> for VTableError
Source§impl From<VTableError> for Error
impl From<VTableError> for Error
Source§fn from(err: VTableError) -> Self
fn from(err: VTableError) -> Self
Convert our error type to rusqlite::Error for use in virtual table callbacks
Auto Trait Implementations§
impl Freeze for VTableError
impl !RefUnwindSafe for VTableError
impl Send for VTableError
impl Sync for VTableError
impl Unpin for VTableError
impl UnsafeUnpin for VTableError
impl !UnwindSafe for VTableError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.