# Enum command::object::UploadFailure

> `failure` of an upload: why the host does not hold it.

`zaun_community_protocol::command::object::UploadFailure` · Enum

```rust
pub enum UploadFailure { … }
```

`failure` of an upload: why the host does not hold it.

## Variants

### `FileServer`

The file went to an XFTP server the host does not download from. A member uploads
only to the servers `session.welcome.attachments.file_servers` lists.

### `Transfer`

The host's download failed or was cancelled.

### `Mismatch`

The bytes that arrived differ in size or SHA3-256 from the declaration.

### `NotReceived`

No file arrived before `expires_at`.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Deserialize<'de>`, `Eq`, `Hash`, `PartialEq`, `Serialize`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/message/enum.UploadFailure.html)
