Enum slog::MutexDrainError[][src]

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

Error returned by Mutex<D : Drain>

Variants

Error acquiring mutex

Error returned by drain

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

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

Performs the conversion.

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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