pub enum BatchingError {
QueueFull,
Timeout(Duration),
InvalidBatchSize(usize),
Cancelled,
IncompatibleShapes,
}Expand description
Dynamic batching errors.
Variants§
Trait Implementations§
Source§impl Clone for BatchingError
impl Clone for BatchingError
Source§fn clone(&self) -> BatchingError
fn clone(&self) -> BatchingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchingError
impl Debug for BatchingError
Source§impl Display for BatchingError
impl Display for BatchingError
Source§impl Error for BatchingError
impl Error for BatchingError
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 PartialEq for BatchingError
impl PartialEq for BatchingError
impl StructuralPartialEq for BatchingError
Auto Trait Implementations§
impl Freeze for BatchingError
impl RefUnwindSafe for BatchingError
impl Send for BatchingError
impl Sync for BatchingError
impl Unpin for BatchingError
impl UnwindSafe for BatchingError
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