Enum diesel::result::DatabaseErrorKind
[−]
[src]
pub enum DatabaseErrorKind { UniqueViolation, UnableToSendCommand, // some variants omitted }
The kind of database error that occurred. This is not meant to exhaustively cover all possible errors, but is used to identify errors which are commonly recovered from programatically. This enum is not intended to be exhaustively matched, and new variants may be added in the future without a major version bump.
Variants
UniqueViolation
UnableToSendCommand
Trait Implementations
impl Copy for DatabaseErrorKind
[src]
impl Clone for DatabaseErrorKind
[src]
fn clone(&self) -> DatabaseErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more