Enum async_rusqlite::Error
source · pub enum Error {
Rusqlite(Error),
TokioJoin(JoinError),
SendMessage,
MissingResponse(RecvError),
AlreadyJoined,
ThreadJoin(SyncWrapper<Box<dyn Any + Send>>),
SetupFunc(BoxedError),
AccessPanicked(SyncWrapper<Box<dyn Any + Send>>),
}
Expand description
Error
Variants§
Rusqlite(Error)
Rusqlite error
TokioJoin(JoinError)
Tokio Join Error
SendMessage
Failed to send message to db
MissingResponse(RecvError)
Failed to get result from db
AlreadyJoined
This database was already joined
ThreadJoin(SyncWrapper<Box<dyn Any + Send>>)
Bad thread join
SetupFunc(BoxedError)
Setup failed to run
AccessPanicked(SyncWrapper<Box<dyn Any + Send>>)
A db access panicked
Trait Implementations§
source§impl Error for Error
impl Error for Error
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()
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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