[][src]Enum deadpool::managed::TimeoutType

pub enum TimeoutType {
    Wait,
    Create,
    Recycle,
}

When Pool::get returns a timeout error this enum can be used to figure out which step caused the timeout.

Variants

Wait

The timeout happened while waiting for a slot to become available

Create

The timeout happened while creating the object

Recycle

The timeout happened while recycling an object

Trait Implementations

impl Debug for TimeoutType[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, 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.