[][src]Struct oracle::DbError

pub struct DbError { /* fields omitted */ }

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]

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]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err