pub enum SqliteSyncError {
InvalidConfiguration(&'static str),
UnsafePath,
UpdateRequired,
DatabaseOperation,
IntegrityFailed,
CapacityExceeded(&'static str),
CorruptRecord(&'static str),
}Expand description
Typed provider error whose diagnostics never contain paths, SQL or payloads.
Variants§
InvalidConfiguration(&'static str)
Provider configuration violates a fixed bound.
UnsafePath
The database path is not an owner-controlled regular-file location.
UpdateRequired
The persistent schema is removed, unversioned or newer than supported.
DatabaseOperation
SQLite rejected an internal operation.
IntegrityFailed
Database integrity validation failed.
CapacityExceeded(&'static str)
A provider capacity limit was reached.
CorruptRecord(&'static str)
A stored provider record is structurally invalid.
Trait Implementations§
Source§impl Clone for SqliteSyncError
impl Clone for SqliteSyncError
Source§fn clone(&self) -> SqliteSyncError
fn clone(&self) -> SqliteSyncError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqliteSyncError
Source§impl Debug for SqliteSyncError
impl Debug for SqliteSyncError
Source§impl Display for SqliteSyncError
impl Display for SqliteSyncError
impl Eq for SqliteSyncError
Source§impl Error for SqliteSyncError
impl Error for SqliteSyncError
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 SqliteSyncError
impl PartialEq for SqliteSyncError
impl StructuralPartialEq for SqliteSyncError
Auto Trait Implementations§
impl Freeze for SqliteSyncError
impl RefUnwindSafe for SqliteSyncError
impl Send for SqliteSyncError
impl Sync for SqliteSyncError
impl Unpin for SqliteSyncError
impl UnsafeUnpin for SqliteSyncError
impl UnwindSafe for SqliteSyncError
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