pub enum DbError<E: Debug + Display> {
Store(E),
Serialize(String),
Deserialize(String),
Envelope(String),
Migration(String),
}Expand description
Error type for CrdtDb operations.
Variants§
Store(E)
Error from the underlying storage backend.
Serialize(String)
Serialization failed.
Deserialize(String)
Deserialization failed.
Envelope(String)
Version envelope error.
Migration(String)
Migration error.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for DbError<E>where
E: Freeze,
impl<E> RefUnwindSafe for DbError<E>where
E: RefUnwindSafe,
impl<E> Send for DbError<E>where
E: Send,
impl<E> Sync for DbError<E>where
E: Sync,
impl<E> Unpin for DbError<E>where
E: Unpin,
impl<E> UnwindSafe for DbError<E>where
E: UnwindSafe,
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