Enum oracle::Error [−][src]
pub enum Error {}Show variants
OciError(DbError), DpiError(DbError), NullValue, ParseError(Box<dyn Error + Send + Sync>), OutOfRange(String), InvalidTypeConversion(String, String), InvalidBindIndex(usize), InvalidBindName(String), InvalidColumnIndex(usize), InvalidColumnName(String), InvalidAttributeName(String), InvalidOperation(String), UninitializedBindValue, NoDataFound, BatchErrors(Vec<DbError>), InternalError(String),
Enum listing possible errors from rust-oracle.
Variants
OciError(DbError)
Error from an underlying Oracle client library.
DpiError(DbError)
Error from an underlying ODPI-C layer.
Error when NULL value is got but the target rust type cannot handle NULL.
Use Option<...>
in this case.
Error when conversion from a string to an Oracle value fails
OutOfRange(String)
Error when conversion from a type to another fails due to out-of-range
Error when conversion from a type to another is not allowed.
InvalidBindIndex(usize)
Error when the bind parameter index is out of range. (one based)
InvalidBindName(String)
Error when the bind parameter name is not in the SQL.
InvalidColumnIndex(usize)
Error when the column index is out of range. (zero based)
InvalidColumnName(String)
Error when the column name is not in the SQL.
InvalidAttributeName(String)
Error when the specified attribute name is not found.
InvalidOperation(String)
Error when invalid method is called such as calling execute for select statements.
Error when an uninitialized bind value is accessed. Bind values
must be initialized by Statement.bind
,
Statement.execute
or Connection.execute
in advance.
Error when no more rows exist in the SQL.
InternalError(String)
Internal error. When you get this error, please report it with a test case to reproduce it.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<ParseFloatError> for Error
[src]
fn from(err: ParseFloatError) -> Self
[src]
impl From<ParseIntError> for Error
[src]
fn from(err: ParseIntError) -> Self
[src]
impl From<ParseOracleTypeError> for Error
[src]
fn from(err: ParseOracleTypeError) -> Self
[src]
impl<T> From<PoisonError<T>> for Error
[src]
fn from(err: PoisonError<T>) -> Self
[src]
impl From<TryFromIntError> for Error
[src]
fn from(err: TryFromIntError) -> Self
[src]
impl From<Utf8Error> for Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,