pub enum StoreError {
IoError(String),
SerializationError(String),
DuplicateRecord(String),
NotFound(String),
}Expand description
Store error types
Variants§
IoError(String)
Database I/O error
SerializationError(String)
Serialization error
DuplicateRecord(String)
Duplicate record
NotFound(String)
Record not found
Trait Implementations§
Source§impl Debug for StoreError
impl Debug for StoreError
Auto Trait Implementations§
impl Freeze for StoreError
impl RefUnwindSafe for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl UnsafeUnpin for StoreError
impl UnwindSafe for StoreError
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