Lines Matching defs:Error
14 pub enum Error { enum
153 impl PartialEq for Error { implementation
218 impl From<str::Utf8Error> for Error { implementation
220 fn from(err: str::Utf8Error) -> Error { in from()
225 impl From<std::ffi::NulError> for Error { implementation
227 fn from(err: std::ffi::NulError) -> Error { in from()
236 impl From<FromSqlError> for Error { implementation
238 fn from(err: FromSqlError) -> Error { in from()
255 impl From<ffi::InitError> for Error { implementation
257 fn from(err: ffi::InitError) -> Error { in from()
262 impl fmt::Display for Error { implementation
339 impl error::Error for Error { implementation
391 impl Error { implementation
395 pub fn sqlite_error(&self) -> Option<&ffi::Error> { in sqlite_error()
414 pub fn error_from_sqlite_code(code: c_int, message: Option<String>) -> Error { in error_from_sqlite_code()
419 pub unsafe fn error_from_handle(db: *mut ffi::sqlite3, code: c_int) -> Error { in error_from_handle()
430 pub unsafe fn error_with_offset(db: *mut ffi::sqlite3, code: c_int, _sql: &str) -> Error { in error_with_offset()
436 pub unsafe fn error_with_offset(db: *mut ffi::sqlite3, code: c_int, sql: &str) -> Error { in error_with_offset()
468 pub unsafe fn to_sqlite_error(e: &Error, err_msg: *mut *mut std::os::raw::c_char) -> c_int { in to_sqlite_error()