Enum slog::MutexDrainError [−][src]
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: Clone + Drain> Clone for MutexDrainError<D> where
D::Err: Clone,
fn clone(&self) -> MutexDrainError<D>
[src]
fn clone(&self) -> MutexDrainError<D>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<D> Debug for MutexDrainError<D> where
D: Drain,
D::Err: Debug,
[src]
impl<D> Debug for MutexDrainError<D> where
D: Drain,
D::Err: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<D> Error for MutexDrainError<D> where
D: Drain,
D::Err: Debug + Display + Error,
[src]
impl<D> Error for MutexDrainError<D> where
D: Drain,
D::Err: Debug + Display + Error,
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
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]
impl<'a, D: Drain> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D>
fn from(_: PoisonError<MutexGuard<'a, D>>) -> 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]
impl<D: Drain> Display for MutexDrainError<D> where
D::Err: Display,
Auto Trait Implementations
impl<D> Send for MutexDrainError<D> where
<D as Drain>::Err: Send,
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> Sync for MutexDrainError<D> where
<D as Drain>::Err: Sync,