pub enum PgErrorPosition<'a> {
Original(usize),
Internal {
position: usize,
query: &'a str,
},
}
A position (in characters) into the original query.
A position into the internally-generated query.
Fields of Internal
The position in characters.
The text of a failed internally-generated command. This could be, for example,
the SQL query issued by a PL/pgSQL function.
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,