Struct postgres_shared::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 PartialEq 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 Eq for SqlState
[src]

impl Clone for SqlState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SqlState
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SqlState

impl Sync for SqlState