Enum tokio_postgres::error::ErrorPosition [] [src]

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

Represents the position of an error in a query.

Variants

A position in the original query.

A position in an internally generated query.

Fields of Internal

The byte position.

A query generated by the Postgres server.

Trait Implementations

impl Eq for ErrorPosition
[src]

impl PartialEq<ErrorPosition> for ErrorPosition
[src]

impl Debug for ErrorPosition
[src]

Formats the value using the given formatter.

impl Clone for ErrorPosition
[src]