[][src]Enum slog::MutexDrainError

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> Debug for MutexDrainError<D> where
    D: Drain,
    D::Err: Debug
[src]

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

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

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

Auto Trait Implementations

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

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> UnwindSafe for MutexDrainError<D> where
    <D as Drain>::Err: UnwindSafe

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

Blanket Implementations

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.