Enum postgres_shared::error::ErrorPosition [−][src]
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 of Internal
position: u32 | The byte position. |
query: String | A query generated by the Postgres server. |
Trait Implementations
impl Clone for ErrorPosition[src]
impl Clone for ErrorPositionfn clone(&self) -> ErrorPosition[src]
fn clone(&self) -> ErrorPositionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ErrorPosition[src]
impl PartialEq for ErrorPositionfn eq(&self, other: &ErrorPosition) -> bool[src]
fn eq(&self, other: &ErrorPosition) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ErrorPosition) -> bool[src]
fn ne(&self, other: &ErrorPosition) -> boolThis method tests for !=.
impl Eq for ErrorPosition[src]
impl Eq for ErrorPositionimpl Debug for ErrorPosition[src]
impl Debug for ErrorPositionAuto Trait Implementations
impl Send for ErrorPosition
impl Send for ErrorPositionimpl Sync for ErrorPosition
impl Sync for ErrorPosition