Enum slog::MutexDrainError
[−]
[src]
pub enum MutexDrainError<D: Drain> {
Mutex,
Drain(D::Err),
}Error returned by Mutex<D : Drain>
Variants
MutexError acquiring mutex
Drain(D::Err)Error returned by drain
Trait Implementations
impl<D: Clone + Drain> Clone for MutexDrainError<D> where
D::Err: Clone, [src]
D::Err: Clone,
fn clone(&self) -> MutexDrainError<D>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<D> Debug for MutexDrainError<D> where
D: Drain,
D::Err: Debug, [src]
D: Drain,
D::Err: Debug,
impl<D> Error for MutexDrainError<D> where
D: Drain,
D::Err: Debug + Display + Error, [src]
D: Drain,
D::Err: Debug + Display + Error,
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl<'a, D: Drain> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D>[src]
fn from(_: PoisonError<MutexGuard<'a, D>>) -> MutexDrainError<D>
Performs the conversion.
impl<D: Drain> Display for MutexDrainError<D> where
D::Err: Display, [src]
D::Err: Display,