> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# QueueError

> QueueError — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[bulk\_inserter](https://docs.kinetica.com/content/api/rust/bulk_inserter/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L829-L834)&#x20;

<pre>`pub struct QueueError<T> {    pub error: KineticaError,    pub records: Vec<Arc<T>>,}`</pre>

Records the inserter did not queue, and why, for the caller to retry or report.For [`BulkInserter::insert`](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.BulkInserter#method.insert), the record. For [`BulkInserter::insert_batch`](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.BulkInserter#method.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`](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError), so `?` works where one is returned, and displays as it does.

Fields
`error: KineticaError`

Why the records were not queued

`records: Vec<Arc<T>>`

The records that were not queued, in the order they were given

## Trait Implementations

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L844-L851)
impl\<T> [Debug](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html) for [QueueError](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.QueueError.md)\<T>

The records are summarized by their number, so no `Debug` is needed of `T`.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L845-L850)
fn [fmt](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html#tymethod.fmt)(\&self, f: \&mut [Formatter](https://doc.rust-lang.org/1.98.1/core/fmt/struct.Formatter.html)\<'\_>) -> [Result](https://doc.rust-lang.org/1.98.1/core/fmt/type.Result.html)

Formats the value using the given formatter. [Read more](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html#tymethod.fmt)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L853-L857)
impl\<T> [Display](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Display.html) for [QueueError](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.QueueError.md)\<T>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L854-L856)
fn [fmt](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Display.html#tymethod.fmt)(\&self, f: \&mut [Formatter](https://doc.rust-lang.org/1.98.1/core/fmt/struct.Formatter.html)\<'\_>) -> [Result](https://doc.rust-lang.org/1.98.1/core/fmt/type.Result.html)

Formats the value using the given formatter. [Read more](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Display.html#tymethod.fmt)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L859-L863)
impl\<T> [Error](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html) for [QueueError](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.QueueError.md)\<T>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L860-L862)
fn [source](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.source)(\&self) -> [Option](https://doc.rust-lang.org/1.98.1/core/option/enum.Option.html)\<&(dyn [Error](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html) + 'static)>

Returns the lower-level source of this error, if any. [Read more](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.source)

1.0.0 · [Source](https://doc.rust-lang.org/1.98.1/src/core/error.rs.html#137)
fn [description](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.description)(\&self) -> &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html)

👎Deprecated since 1.42.0: use the Display impl or to\_string()&#x20;
&#x20;[Read more](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.description)

1.0.0 · [Source](https://doc.rust-lang.org/1.98.1/src/core/error.rs.html#147)
fn [cause](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.cause)(\&self) -> [Option](https://doc.rust-lang.org/1.98.1/core/option/enum.Option.html)\<\&dyn [Error](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html)>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting&#x20;

[Source](https://doc.rust-lang.org/1.98.1/src/core/error.rs.html#260)
fn [provide](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.provide)\<'a>(&'a self, request: \&mut [Request](https://doc.rust-lang.org/1.98.1/core/error/struct.Request.html)\<'a>)

🔬This is a nightly-only experimental API. (`error_generic_member_access`)
Provides type-based access to context intended for error reports. [Read more](https://doc.rust-lang.org/1.98.1/core/error/trait.Error.html#method.provide)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L865-L869)
impl\<T> [From](https://doc.rust-lang.org/1.98.1/core/convert/trait.From.html)\<[QueueError](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.QueueError.md)\<T>> for [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/bulk_inserter.rs#L866-L868)
fn [from](https://doc.rust-lang.org/1.98.1/core/convert/trait.From.html#tymethod.from)(error: [QueueError](https://docs.kinetica.com/content/api/rust/bulk_inserter/struct.QueueError.md)\<T>) -> Self

Converts to this type from the input type.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.