Trait diesel::result::DatabaseErrorInformation [] [src]

pub trait DatabaseErrorInformation {
    fn message(&self) -> &str;
    fn details(&self) -> Option<&str>;
    fn hint(&self) -> Option<&str>;
    fn table_name(&self) -> Option<&str>;
    fn column_name(&self) -> Option<&str>;
    fn constraint_name(&self) -> Option<&str>;
}

Required Methods

Trait Implementations

impl Debug for DatabaseErrorInformation + Send + Sync
[src]

Formats the value using the given formatter.

Implementors