pub enum BsqlError {
Pool(PoolError),
Query(QueryError),
Decode(DecodeError),
Connect(ConnectError),
}Expand description
The error type for all bsql operations.
§Variants
Variants§
Trait Implementations§
Source§impl Error for BsqlError
impl Error for BsqlError
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 Freeze for BsqlError
impl !RefUnwindSafe for BsqlError
impl Send for BsqlError
impl Sync for BsqlError
impl Unpin for BsqlError
impl UnsafeUnpin for BsqlError
impl !UnwindSafe for BsqlError
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