pub enum EventQueueError {
PoisonedLock,
PoisonedCondvar,
}Expand description
Error returned by in-memory queue operations.
Variants§
PoisonedLock
The queue mutex was poisoned by a panicking thread.
PoisonedCondvar
The queue condition variable wait returned with a poisoned lock.
Trait Implementations§
Source§impl Debug for EventQueueError
impl Debug for EventQueueError
Source§impl Display for EventQueueError
impl Display for EventQueueError
Source§impl Error for EventQueueError
impl Error for EventQueueError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<EventQueueError> for DurableEventQueueError
impl From<EventQueueError> for DurableEventQueueError
Source§fn from(source: EventQueueError) -> Self
fn from(source: EventQueueError) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<(MutexGuard<'_, VecDeque<T>>, WaitTimeoutResult)>> for EventQueueError
impl<T> From<PoisonError<(MutexGuard<'_, VecDeque<T>>, WaitTimeoutResult)>> for EventQueueError
Source§fn from(
_: PoisonError<(MutexGuard<'_, VecDeque<T>>, WaitTimeoutResult)>,
) -> Self
fn from( _: PoisonError<(MutexGuard<'_, VecDeque<T>>, WaitTimeoutResult)>, ) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<MutexGuard<'_, VecDeque<T>>>> for EventQueueError
impl<T> From<PoisonError<MutexGuard<'_, VecDeque<T>>>> for EventQueueError
Source§fn from(_: PoisonError<MutexGuard<'_, VecDeque<T>>>) -> Self
fn from(_: PoisonError<MutexGuard<'_, VecDeque<T>>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventQueueError
impl RefUnwindSafe for EventQueueError
impl Send for EventQueueError
impl Sync for EventQueueError
impl Unpin for EventQueueError
impl UnsafeUnpin for EventQueueError
impl UnwindSafe for EventQueueError
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