Enum batch_aint_one::BatchError
source · pub enum BatchError<E: Display> {
Tx,
Rx(RecvError),
BatchFailed(E),
}Expand description
An error that occurred while trying to batch.
Variants§
Tx
Something went wrong while submitting an input for processing.
Rx(RecvError)
Something went wrong while waiting for the output of a batch.
BatchFailed(E)
Something went wrong while processing a batch.
Trait Implementations§
source§impl<E: Display> Display for BatchError<E>
impl<E: Display> Display for BatchError<E>
source§impl<E: Display> Error for BatchError<E>
impl<E: Display> Error for BatchError<E>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl<E> RefUnwindSafe for BatchError<E>where
E: RefUnwindSafe,
impl<E> Send for BatchError<E>where
E: Send,
impl<E> Sync for BatchError<E>where
E: Sync,
impl<E> Unpin for BatchError<E>where
E: Unpin,
impl<E> UnwindSafe for BatchError<E>where
E: 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