Enum irox_threading::ExchangerError
source · pub enum ExchangerError<T> {
TaskError(TaskError),
ExchangerFull(T),
ExchangerEmpty,
}
Expand description
Exchanger errors
Variants§
TaskError(TaskError)
Error with the underlying executor
ExchangerFull(T)
Exchanger cannot accept an element as it is full.
ExchangerEmpty
Exchanger cannot deliver an element as it is empty.
Trait Implementations§
source§impl<T> Debug for ExchangerError<T>
impl<T> Debug for ExchangerError<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ExchangerError<T>where
T: RefUnwindSafe,
impl<T> Send for ExchangerError<T>where
T: Send,
impl<T> Sync for ExchangerError<T>where
T: Sync,
impl<T> Unpin for ExchangerError<T>where
T: Unpin,
impl<T> UnwindSafe for ExchangerError<T>where
T: UnwindSafe,
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