Enum slog_async::AsyncError
source · pub enum AsyncError {
Full,
Fatal(Box<dyn Error>),
}
Expand description
Errors reported by Async
Variants§
Full
Could not send record to worker thread due to full queue
Fatal(Box<dyn Error>)
Fatal problem - mutex or channel poisoning issue
Trait Implementations§
source§impl Debug for AsyncError
impl Debug for AsyncError
source§impl<T> From<PoisonError<T>> for AsyncError
impl<T> From<PoisonError<T>> for AsyncError
source§fn from(err: PoisonError<T>) -> AsyncError
fn from(err: PoisonError<T>) -> AsyncError
Converts to this type from the input type.
source§impl<T> From<SendError<T>> for AsyncError
impl<T> From<SendError<T>> for AsyncError
source§fn from(_: SendError<T>) -> AsyncError
fn from(_: SendError<T>) -> AsyncError
Converts to this type from the input type.
source§impl<T> From<TrySendError<T>> for AsyncError
impl<T> From<TrySendError<T>> for AsyncError
source§fn from(_: TrySendError<T>) -> AsyncError
fn from(_: TrySendError<T>) -> AsyncError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncError
impl !Send for AsyncError
impl !Sync for AsyncError
impl Unpin for AsyncError
impl !UnwindSafe for AsyncError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more