Derive extra error traits

This commit is contained in:
Sebastien Guillemot 2022-04-19 19:37:20 +09:00 committed by GitHub
parent 66ba234156
commit 2f4eadcbac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
/// An error from unsuccessful database operations
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq, Clone)]
pub enum DbErr {
/// There was a problem with the database connection
Conn(String),