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(u32)A position in the original query.
InternalA position in an internally generated query.
Fields
position: u32 | The byte position. |
query: String | A query generated by the Postgres server. |
Trait Implementations
impl Debug for ErrorPosition[src]
impl Eq for ErrorPosition[src]
impl PartialEq for ErrorPosition[src]
fn eq(&self, __arg_0: &ErrorPosition) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ErrorPosition) -> bool
This method tests for !=.
impl Clone for ErrorPosition[src]
fn clone(&self) -> ErrorPosition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more