[][src]Enum deadpool::RecycleError

pub enum RecycleError<E> {
    Message(String),
    Backend(E),
}

This error is returned by the Manager::recycle function

Variants

Message(String)

Recycling failed for some other reason

Backend(E)

The error was caused by the backend

Trait Implementations

impl<E> From<E> for RecycleError<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for RecycleError<E> where
    E: RefUnwindSafe

impl<E> Send for RecycleError<E> where
    E: Send

impl<E> Sync for RecycleError<E> where
    E: Sync

impl<E> Unpin for RecycleError<E> where
    E: Unpin

impl<E> UnwindSafe for RecycleError<E> where
    E: UnwindSafe

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<!> for T[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.