deadpool_sqlite

Type Alias PoolError

Source
pub type PoolError = PoolError<Error>;
Expand description

Type alias for using deadpool::managed::PoolError with rusqlite.

Aliased Type§

enum PoolError {
    Timeout(TimeoutType),
    Backend(Error),
    Closed,
    NoRuntimeSpecified,
    PostCreateHook(HookError<Error>),
}

Variants§

§

Timeout(TimeoutType)

Timeout happened.

§

Backend(Error)

Backend reported an error.

§

Closed

Pool has been closed.

§

NoRuntimeSpecified

No Runtime was specified.

§

PostCreateHook(HookError<Error>)

A post_create hook reported an error.