[−][src]Struct oracle::DbError
Oracle database error or ODPI-C error
Methods
impl DbError
[src]
pub fn new(
code: i32,
offset: u16,
message: String,
fn_name: String,
action: String
) -> DbError
[src]
code: i32,
offset: u16,
message: String,
fn_name: String,
action: String
) -> DbError
pub fn code(&self) -> i32
[src]
Oracle error code if OciError. always zero if DpiError
pub fn offset(&self) -> u16
[src]
? (used for Batch Errors?)
pub fn message(&self) -> &str
[src]
error message
pub fn fn_name(&self) -> &str
[src]
function name in ODPI-C used by rust-oracle
pub fn action(&self) -> &str
[src]
action name in ODPI-C used by rust-oracle
Trait Implementations
impl Eq for DbError
[src]
impl Clone for DbError
[src]
impl PartialEq<DbError> for DbError
[src]
impl Debug for DbError
[src]
Auto Trait Implementations
impl Send for DbError
impl Unpin for DbError
impl Sync for DbError
impl UnwindSafe for DbError
impl RefUnwindSafe for DbError
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,