pub enum ConcurrentErrors {
Producer(String),
Sender(String),
Receiver(String),
Thread(String),
}
Expand description
Series of errors that might happen when processing files concurrently.
Variants§
Producer(String)
Producer side error.
An error occurred inside the producer thread.
Sender(String)
Sender side error.
An error occurred when sending an item.
Receiver(String)
Receiver side error.
An error occurred inside one of the receiver threads.
Thread(String)
Thread side error.
A general error occurred when a thread is being spawned or run.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConcurrentErrors
impl RefUnwindSafe for ConcurrentErrors
impl Send for ConcurrentErrors
impl Sync for ConcurrentErrors
impl Unpin for ConcurrentErrors
impl UnwindSafe for ConcurrentErrors
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