Enum reool::error::CheckoutErrorKind[][src]

pub enum CheckoutErrorKind {
    NoConnection,
    CheckoutTimeout,
    ReservationLimitReached,
    NoPool,
    CheckoutLimitReached,
    TaskExecution,
}

Further specifies the kind of a CheckoutError

Variants

NoConnection

Currently there is no connection available

CheckoutTimeout

An enqueued request for a checkout that had a timeout set timed out. A reservation could not be fulfilled.

ReservationLimitReached

No connection immediately available and no more requests can be enqueued to wait for a connection because the reservation queue has reached it`s limit

NoPool

No connection because there is no pool available.

CheckoutLimitReached

If maximum number of checkout that can be enqueued has been reached

TaskExecution

Something went wrong executing a task. Keep in mind that it depends on the Executor whether this error is returned. Some Executors might simply panic.

Trait Implementations

impl Clone for CheckoutErrorKind[src]

impl Copy for CheckoutErrorKind[src]

impl Debug for CheckoutErrorKind[src]

impl Display for CheckoutErrorKind[src]

impl Eq for CheckoutErrorKind[src]

impl From<CheckoutErrorKind> for CheckoutError[src]

impl PartialEq<CheckoutErrorKind> for CheckoutErrorKind[src]

impl StructuralEq for CheckoutErrorKind[src]

impl StructuralPartialEq for CheckoutErrorKind[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,