Enum astral::thirdparty::slog::MutexDrainError
Expand description
Error returned by Mutex<D : Drain>
Variants
Mutex
Error acquiring mutex
Drain(<D as Drain>::Err)
Error returned by drain
Trait Implementations
impl<D> Clone for MutexDrainError<D>where
D: Clone + Drain,
<D as Drain>::Err: Clone,
impl<D> Clone for MutexDrainError<D>where
D: Clone + Drain,
<D as Drain>::Err: Clone,
fn clone(&self) -> MutexDrainError<D>
fn clone(&self) -> MutexDrainError<D>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<D> Error for MutexDrainError<D>where
D: Drain,
<D as Drain>::Err: Debug + Display + Error,
impl<D> Error for MutexDrainError<D>where
D: Drain,
<D as Drain>::Err: Debug + Display + Error,
fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
impl<'a, D> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D>where
D: Drain,
impl<'a, D> From<PoisonError<MutexGuard<'a, D>>> for MutexDrainError<D>where
D: Drain,
fn from(_: PoisonError<MutexGuard<'a, D>>) -> MutexDrainError<D>
fn from(_: PoisonError<MutexGuard<'a, D>>) -> MutexDrainError<D>
Converts to this type from the input type.
Auto Trait Implementations
impl<D> RefUnwindSafe for MutexDrainError<D>where
<D as Drain>::Err: RefUnwindSafe,
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> Unpin for MutexDrainError<D>where
<D as Drain>::Err: Unpin,
impl<D> UnwindSafe for MutexDrainError<D>where
<D as Drain>::Err: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more