[−]Enum astral::thirdparty::slog::MutexDrainError
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,
D: Drain,
fn from(PoisonError<MutexGuard<'a, D>>) -> MutexDrainError<D>
impl<D> Debug for MutexDrainError<D> where
D: Drain,
<D as Drain>::Err: Debug,
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,
D: Drain,
<D as Drain>::Err: Debug,
<D as Drain>::Err: Display,
<D as Drain>::Err: Error,
fn description(&self) -> &str
fn cause(&self) -> Option<&dyn 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,
D: Drain,
<D as Drain>::Err: Display,
impl<D> Clone for MutexDrainError<D> where
D: Drain + Clone,
<D as Drain>::Err: Clone,
D: Drain + Clone,
<D as Drain>::Err: Clone,
fn clone(&self) -> MutexDrainError<D>
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,
<D as Drain>::Err: Send,
impl<D> Sync for MutexDrainError<D> where
<D as Drain>::Err: Sync,
<D as Drain>::Err: Sync,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,