Enum c3p0::C3p0Error[][src]

pub enum C3p0Error {
    InternalError {
        cause: String,
    },
    DbError {
        db: &'static str,
        cause: String,
        code: Option<String>,
    },
    RowMapperError {
        cause: String,
    },
    OptimisticLockError {
        message: String,
    },
    JsonProcessingError {
        source: Error,
    },
    IteratorError {
        message: String,
    },
    PoolError {
        db: &'static str,
        pool: &'static str,
        cause: String,
    },
    ResultNotFoundError,
    TransactionError {
        source: Box<dyn Error + 'static + Send + Sync, Global>,
    },
    CorruptedDbMigrationState {
        message: String,
    },
    AlteredMigrationSql {
        message: String,
    },
    WrongMigrationSet {
        message: String,
    },
    IoError {
        message: String,
    },
    MigrationError {
        message: String,
        source: Box<C3p0Error, Global>,
    },
}

Variants

InternalError

Fields of InternalError

cause: String
DbError

Fields of DbError

db: &'static strcause: Stringcode: Option<String>
RowMapperError

Fields of RowMapperError

cause: String
OptimisticLockError

Fields of OptimisticLockError

message: String
JsonProcessingError

Fields of JsonProcessingError

source: Error
IteratorError

Fields of IteratorError

message: String
PoolError

Fields of PoolError

db: &'static strpool: &'static strcause: String
ResultNotFoundError
TransactionError

Fields of TransactionError

source: Box<dyn Error + 'static + Send + Sync, Global>
CorruptedDbMigrationState

Fields of CorruptedDbMigrationState

message: String
AlteredMigrationSql

Fields of AlteredMigrationSql

message: String
WrongMigrationSet

Fields of WrongMigrationSet

message: String
IoError

Fields of IoError

message: String
MigrationError

Fields of MigrationError

message: Stringsource: Box<C3p0Error, Global>

Trait Implementations

impl Debug for C3p0Error[src]

impl Display for C3p0Error[src]

impl Error for C3p0Error[src]

impl From<Error> for C3p0Error[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.