[]Enum astral::thirdparty::slog::MutexDrainError

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

Error returned by Mutex<D : Drain>

Variants

Mutex

Error acquiring mutex

Drain(<D as Drain>::Err)

Error returned by drain

Trait Implementations

impl<'a, D> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D> where
    D: Drain

impl<D> Debug for MutexDrainError<D> where
    D: Drain,
    <D as Drain>::Err: Debug

impl<D> Error for MutexDrainError<D> where
    D: Drain,
    <D as Drain>::Err: Debug,
    <D as Drain>::Err: Display,
    <D as Drain>::Err: Error

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

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

impl<D> Display for MutexDrainError<D> where
    D: Drain,
    <D as Drain>::Err: Display

impl<D> Clone for MutexDrainError<D> where
    D: Drain + Clone,
    <D as Drain>::Err: Clone

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

Performs copy-assignment from source. 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

Blanket Implementations

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

type Owned = T

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

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized