pub enum ChError {
Backend(String),
Io(Error),
}Expand description
Errors surfaced by the I/O layer — either the backing client failed, or we hit a local filesystem error while reading migration files.
Variants§
Backend(String)
The underlying ClickHouse client returned an error. The caller’s
ChExecutor implementation maps its driver error into this string.
Io(Error)
A local filesystem error (e.g. reading the migrations directory).
Trait Implementations§
Source§impl Error for ChError
impl Error for ChError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ChError
impl !UnwindSafe for ChError
impl Freeze for ChError
impl Send for ChError
impl Sync for ChError
impl Unpin for ChError
impl UnsafeUnpin for ChError
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