#[repr(C)]
pub struct ErrorData {Show fields
pub elevel: c_int,
pub output_to_server: bool,
pub output_to_client: bool,
pub show_funcname: 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_charcontext_domain: *const c_charcolumn_name: *mut c_char
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
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)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.