#[repr(C)]
pub struct ErrorData {
Show 28 fields pub elevel: c_int, pub output_to_server: bool, pub output_to_client: bool, pub hide_stmt: bool, pub hide_ctx: bool, pub filename: *const c_char, pub lineno: c_int, pub funcname: *const c_char, pub domain: *const c_char, pub context_domain: *const c_char, pub sqlerrcode: c_int, pub message: *mut c_char, pub detail: *mut c_char, pub detail_log: *mut c_char, pub hint: *mut c_char, pub context: *mut c_char, pub backtrace: *mut c_char, pub message_id: *const c_char, pub schema_name: *mut c_char, pub table_name: *mut c_char, pub column_name: *mut c_char, pub datatype_name: *mut c_char, pub constraint_name: *mut c_char, pub cursorpos: c_int, pub internalpos: c_int, pub internalquery: *mut c_char, pub saved_errno: c_int, pub assoc_context: *mut MemoryContextData,
}

Fields

elevel: c_intoutput_to_server: booloutput_to_client: boolhide_stmt: boolhide_ctx: boolfilename: *const c_charlineno: c_intfuncname: *const c_chardomain: *const c_charcontext_domain: *const c_charsqlerrcode: c_intmessage: *mut c_chardetail: *mut c_chardetail_log: *mut c_charhint: *mut c_charcontext: *mut c_charbacktrace: *mut c_charmessage_id: *const c_charschema_name: *mut c_chartable_name: *mut c_charcolumn_name: *mut c_chardatatype_name: *mut c_charconstraint_name: *mut c_charcursorpos: c_intinternalpos: c_intinternalquery: *mut c_charsaved_errno: c_intassoc_context: *mut MemoryContextData

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.