Enum slog::MutexDrainError[][src]

pub enum MutexDrainError<D: Drain> {
    Mutex,
    Drain(D::Err),
}

Error returned by Mutex<D : Drain>

Variants

Mutex

Error acquiring mutex

Drain(D::Err)

Error returned by drain

Trait Implementations

impl<D: Clone + Drain> Clone for MutexDrainError<D> where
    D::Err: Clone
[src]

impl<D> Debug for MutexDrainError<D> where
    D: Drain,
    D::Err: Debug
[src]

impl<D: Drain> Display for MutexDrainError<D> where
    D::Err: Display
[src]

impl<D> Error for MutexDrainError<D> where
    D: Drain,
    D::Err: Debug + Display + Error
[src]

impl<'a, D: Drain> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D>[src]

Auto Trait Implementations

impl<D> RefUnwindSafe for MutexDrainError<D> where
    <D as Drain>::Err: RefUnwindSafe

impl<D> Send for MutexDrainError<D> where
    <D as Drain>::Err: Send

impl<D> Sync for MutexDrainError<D> where
    <D as Drain>::Err: Sync

impl<D> Unpin for MutexDrainError<D> where
    <D as Drain>::Err: Unpin

impl<D> UnwindSafe for MutexDrainError<D> where
    <D as Drain>::Err: 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<T> for T[src]

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.