Enum slog::MutexDrainError [−][src]
Error returned by Mutex<D : Drain>
Variants
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]
D::Err: Clone,
fn clone(&self) -> MutexDrainError<D>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<D> Debug for MutexDrainError<D> where
D: Drain,
D::Err: Debug,
[src]
D: Drain,
D::Err: Debug,
impl<D: Drain> Display for MutexDrainError<D> where
D::Err: Display,
[src]
D::Err: Display,
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
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
impl<'a, D: Drain> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D>
[src]
fn from(_: PoisonError<MutexGuard<'a, D>>) -> MutexDrainError<D>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for MutexDrainError<D> where
<D as Drain>::Err: RefUnwindSafe,
<D as Drain>::Err: RefUnwindSafe,
impl<D> Send for MutexDrainError<D> where
<D as Drain>::Err: Send,
<D as Drain>::Err: Send,
impl<D> Sync for MutexDrainError<D> where
<D as Drain>::Err: Sync,
<D as Drain>::Err: Sync,
impl<D> Unpin for MutexDrainError<D> where
<D as Drain>::Err: Unpin,
<D as Drain>::Err: Unpin,
impl<D> UnwindSafe for MutexDrainError<D> where
<D as Drain>::Err: UnwindSafe,
<D as Drain>::Err: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,