> ## 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.

# NoOpUploadListener

> NoOpUploadListener — Kinetica Rust API

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

<pre>`pub struct NoOpUploadListener;`</pre>

A no-op upload listener that ignores all callbacks. Useful for operations where progress tracking is not needed.Passing it behaves exactly like passing `None`; it is for code that needs a `&dyn FileUploadListener` in hand regardless.

## Trait Implementations

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/filesystem/listeners.rs#L278-L282)
impl [FileUploadListener](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md) for [NoOpUploadListener](https://docs.kinetica.com/content/api/rust/filesystem/struct.NoOpUploadListener.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/filesystem/listeners.rs#L279)
fn [on\_multi\_part\_upload\_complete](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#tymethod.on_multi_part_upload_complete)(\&self, \_results: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[OperationResult](https://docs.kinetica.com/content/api/rust/filesystem/struct.OperationResult.md)>)

Called when all parts of a multi-part upload have been completed. [Read more](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#tymethod.on_multi_part_upload_complete)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/filesystem/listeners.rs#L280)
fn [on\_part\_upload](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#tymethod.on_part_upload)(\&self, \_result: [OperationResult](https://docs.kinetica.com/content/api/rust/filesystem/struct.OperationResult.md))

Called whenever a single part of a multi-part upload has been completed. [Read more](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#tymethod.on_part_upload)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/filesystem/listeners.rs#L281)
fn [on\_full\_file\_upload](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#tymethod.on_full_file_upload)(\&self, \_result: [OperationResult](https://docs.kinetica.com/content/api/rust/filesystem/struct.OperationResult.md))

Called for each batch of whole files sent in one request, as it finishes, and for each file that could not be read to be sent. [Read more](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#tymethod.on_full_file_upload)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/filesystem/listeners.rs#L61-L63)
fn [on\_multi\_part\_upload\_cancel](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#method.on_multi_part_upload_cancel)(\&self, results: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[OperationResult](https://docs.kinetica.com/content/api/rust/filesystem/struct.OperationResult.md)>)

Called when a multi-part upload was aborted because one of its stages failed after it had been initiated. [Read more](https://docs.kinetica.com/content/api/rust/filesystem/trait.FileUploadListener.md#method.on_multi_part_upload_cancel)


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