Enum tokio_postgres::error::ErrorPosition
source · pub enum ErrorPosition {
Original(u32),
Internal {
position: u32,
query: String,
},
}
Expand description
Represents the position of an error in a query.
Variants§
Original(u32)
A position in the original query.
Internal
A position in an internally generated query.
Trait Implementations§
source§impl Clone for ErrorPosition
impl Clone for ErrorPosition
source§fn clone(&self) -> ErrorPosition
fn clone(&self) -> ErrorPosition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ErrorPosition
impl Debug for ErrorPosition
source§impl PartialEq<ErrorPosition> for ErrorPosition
impl PartialEq<ErrorPosition> for ErrorPosition
source§fn eq(&self, other: &ErrorPosition) -> bool
fn eq(&self, other: &ErrorPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.