Enum postgres_shared::error::ErrorPosition [−][src]
Represents the position of an error in a query.
Variants
Normal(u32)
A position in the original query.
Internal
A 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 ErrorPosition
fn clone(&self) -> ErrorPosition
[src]
fn clone(&self) -> ErrorPosition
Returns 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 ErrorPosition
fn eq(&self, other: &ErrorPosition) -> bool
[src]
fn eq(&self, other: &ErrorPosition) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for ErrorPosition
[src]
impl Eq for ErrorPosition
impl Debug for ErrorPosition
[src]
impl Debug for ErrorPosition
Auto Trait Implementations
impl Send for ErrorPosition
impl Send for ErrorPosition
impl Sync for ErrorPosition
impl Sync for ErrorPosition