Thanks to visit codestin.com
Credit goes to docs.rs

Struct postgres::error::SqlState [] [src]

pub struct SqlState(_);

A SQLSTATE error code

Methods

impl SqlState
[src]

Creates a SqlState from its error code.

Returns the error code corresponding to the SqlState.

Trait Implementations

impl Clone for SqlState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for SqlState
[src]

impl PartialEq<SqlState> for SqlState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for SqlState
[src]

Formats the value using the given formatter.