Enum postgres_shared::error::Severity [−][src]
pub enum Severity {
Panic,
Fatal,
Error,
Warning,
Notice,
Debug,
Info,
Log,
}The severity of a Postgres error or notice.
Variants
PanicPANIC
FatalFATAL
ErrorERROR
WarningWARNING
NoticeNOTICE
DebugDEBUG
InfoINFO
LogLOG
Trait Implementations
impl Debug for Severity[src]
impl Debug for Severityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Severity[src]
impl Copy for Severityimpl Clone for Severity[src]
impl Clone for Severityfn clone(&self) -> Severity[src]
fn clone(&self) -> SeverityReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Severity[src]
impl PartialEq for Severityfn eq(&self, other: &Severity) -> bool[src]
fn eq(&self, other: &Severity) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Severity[src]
impl Eq for Severityimpl Display for Severity[src]
impl Display for Severity