#[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,
}
§domain: *const c_char
§context_domain: *const c_char
§column_name: *mut c_char
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
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
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.