pub enum DbError {
Show 25 variants
Timeformat(Format),
BusyTimer(PathBuf, Error),
Open(PathBuf, Error),
Prepare(String, PathBuf, Error),
Reset(Error),
Execute(String, Error),
Bind(String, Error),
Read(String, Error),
InsertCounter(String, Error),
UpdateCounter(String, Error),
GetCounter(String, Error),
InsertEvent(String, Error),
ListEvents(String, Error),
GetEvent(String, Error),
EventFromJson(String, Error),
EventToJson(Error),
PushEvent(String, Error),
RemoveEvent(String, Error),
ListRuns(String, Error),
GetAllRuns(String, Error),
RunFromJson(String, Error),
GetRun(String, Error),
PushRun(String, Error),
UpdateRun(String, Error),
RemoveRun(String, Error),
}
Expand description
All errors from this module.
Variants§
Timeformat(Format)
Error formatting a time as a string.
BusyTimer(PathBuf, Error)
Open(PathBuf, Error)
Prepare(String, PathBuf, Error)
Reset(Error)
Execute(String, Error)
Bind(String, Error)
Read(String, Error)
InsertCounter(String, Error)
UpdateCounter(String, Error)
GetCounter(String, Error)
InsertEvent(String, Error)
ListEvents(String, Error)
GetEvent(String, Error)
EventFromJson(String, Error)
EventToJson(Error)
Can’t convert broker event into JSON.
PushEvent(String, Error)
RemoveEvent(String, Error)
ListRuns(String, Error)
GetAllRuns(String, Error)
RunFromJson(String, Error)
GetRun(String, Error)
PushRun(String, Error)
UpdateRun(String, Error)
RemoveRun(String, Error)
Trait Implementations§
Source§impl Error for DbError
impl Error for DbError
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<DbError> for AdderError
impl From<DbError> for AdderError
Source§impl From<DbError> for BrokerError
impl From<DbError> for BrokerError
Auto Trait Implementations§
impl Freeze for DbError
impl !RefUnwindSafe for DbError
impl Send for DbError
impl Sync for DbError
impl Unpin for DbError
impl !UnwindSafe for DbError
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