Struct tokio_postgres::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 Clone for SqlState
[src]

[src]

impl Eq for SqlState
[src]

impl PartialEq<SqlState> for SqlState
[src]

[src]

[src]

impl Debug for SqlState
[src]

[src]

Formats the value using the given formatter.