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 ==
.impl Eq for ErrorPosition
impl StructuralEq for ErrorPosition
impl StructuralPartialEq for ErrorPosition
Auto Trait Implementations§
impl RefUnwindSafe for ErrorPosition
impl Send for ErrorPosition
impl Sync for ErrorPosition
impl Unpin for ErrorPosition
impl UnwindSafe for ErrorPosition
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more