Enum libpq::result::ErrorField [−][src]
#[repr(i32)] pub enum ErrorField {}Show variants
Severity, SeverityNonlocalized, Sqlstate, MessagePrimary, MessageDetail, MessageHint, StatementPosition, InternalPosition, InternalQuery, Context, SchemaName, TableName, ColumnName, DatatypeName, ConstraintName, SourceFile, SourceLine, SourceFunction,
Variants
The severity.
The severity.
The SQLSTATE code for the error.
The primary human-readable error message.
An optional secondary error message carrying more detail about the problem.
An optional suggestion what to do about the problem.
A string containing a decimal integer indicating an error cursor position as an index into the original statement string.
This is defined the same as the StatementPosition
field, but it is used when the
cursor position refers to an internally generated command rather than the one submitted by
the client.
The text of a failed internally-generated command.
An indication of the context in which the error occurred.
If the error was associated with a specific database object, the name of the schema containing that object, if any.
If the error was associated with a specific table, the name of the table.
If the error was associated with a specific table column, the name of the column.
If the error was associated with a specific data type, the name of the data type.
If the error was associated with a specific constraint, the name of the constraint.
The file name of the source-code location where the error was reported.
The line number of the source-code location where the error was reported.
The name of the source-code function reporting the error.
Trait Implementations
impl Clone for ErrorField
[src]
fn clone(&self) -> ErrorField
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ErrorField
[src]
impl Debug for ErrorField
[src]
impl PartialEq<ErrorField> for ErrorField
[src]
fn eq(&self, other: &ErrorField) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ErrorField
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorField
impl Send for ErrorField
impl Sync for ErrorField
impl Unpin for ErrorField
impl UnwindSafe for ErrorField
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,