Struct postgres_shared::error::SqlState [] [src]

pub struct SqlState(_);

A SQLSTATE error code

Methods

impl SqlState
[src]

[src]

Creates a SqlState from its error code.

[src]

Returns the error code corresponding to the SqlState.

Trait Implementations

impl PartialEq for SqlState
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for SqlState
[src]

impl Clone for SqlState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SqlState
[src]

[src]

Formats the value using the given formatter.