Enum postgres::error::ErrorPosition [] [src]

pub enum ErrorPosition {
    Normal(u32),
    Internal {
        position: u32,
        query: String,
    },
}

Represents the position of an error in a query.

Variants

Normal

A position in the original query.

Internal

A position in an internally generated query.

Fields

position

The byte position.

query

A query generated by the Postgres server.

Trait Implementations

Derived Implementations

impl Debug for ErrorPosition
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for ErrorPosition
[src]

impl PartialEq for ErrorPosition
[src]

fn eq(&self, __arg_0: &ErrorPosition) -> bool

fn ne(&self, __arg_0: &ErrorPosition) -> bool

impl Clone for ErrorPosition
[src]

fn clone(&self) -> ErrorPosition

fn clone_from(&mut self, source: &Self)
1.0.0