pub struct QueueError<T>
pub error: KineticaError,
pub records: Vec<Arc<T>>,
Records the inserter did not queue, and why, for the caller to retry or report.
For BulkInserter::insert, the record. For BulkInserter::insert_batch: the records before the first that cannot be queued are queued, and that one and every one after it come back here; a batch whose JSON does not validate comes back whole. Where the inserter is closed, a full batch it could not send comes back too.
Converts into its KineticaError, so ? works where one is returned, and displays as it does.
Fields
error: KineticaErrorWhy the records were not queued
records: Vec<Arc<T>>The records that were not queued, in the order they were given
Trait Implementations
impl<T> Debug for QueueError<T>
The records are summarized by their number, so no Debug is needed of T.
impl<T> Display for QueueError<T>
impl<T> Error for QueueError<T>
fn description(&self) -> &str
use the Display impl or to_string()
replaced by Error::source, which can support downcasting