pub enum SqliteStorageError {
Overloaded {
retry_after_ms: u64,
message: String,
},
Timeout {
operation: String,
},
}Expand description
A SQLite storage request that failed without changing anything, in a way the caller can act
on. The VFS reports it to SQLite as an I/O error, and the statement’s command returns it
instead of SQLite’s generic disk I/O error.
Variants§
Overloaded
Storage refused the request before running it, as when the volume’s writes are ahead of
its tablet’s apply. The request may be sent again after retry_after_ms.
Timeout
The request’s deadline passed before storage answered a read, or before a write was sent. A write whose request was sent has an unknown outcome instead.
Trait Implementations§
Source§impl Clone for SqliteStorageError
impl Clone for SqliteStorageError
Source§impl Debug for SqliteStorageError
impl Debug for SqliteStorageError
Source§impl Display for SqliteStorageError
impl Display for SqliteStorageError
impl Eq for SqliteStorageError
Source§impl Error for SqliteStorageError
impl Error for SqliteStorageError
1.30.0 · 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 PartialEq for SqliteStorageError
impl PartialEq for SqliteStorageError
impl StructuralPartialEq for SqliteStorageError
Auto Trait Implementations§
impl Freeze for SqliteStorageError
impl RefUnwindSafe for SqliteStorageError
impl Send for SqliteStorageError
impl Sync for SqliteStorageError
impl Unpin for SqliteStorageError
impl UnsafeUnpin for SqliteStorageError
impl UnwindSafe for SqliteStorageError
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