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 for ErrorPosition
impl PartialEq for ErrorPosition
impl Eq for ErrorPosition
impl StructuralPartialEq for ErrorPosition
Auto Trait Implementations§
impl Freeze for ErrorPosition
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)