# Enum framing::DiscardReason

> Why a reassembly (or a fragment that would start one) was discarded. A discard produces no response; the sender's retry repairs it.

`zaun_community_protocol::framing::DiscardReason` · Enum

```rust
pub enum DiscardReason { … }
```

Why a reassembly (or a fragment that would start one) was discarded. A discard produces no
response; the sender's retry repairs it.

## Variants

### `ConflictingChunk`

The same index arrived again with different content.

### `ConflictingCount`

The same `frag_id` arrived with a different `count`.

### `TooManyFragments`

`count` exceeds `MAX_FRAGMENTS`.

### `TooLarge`

The chunks received exceed `max_frame` bytes.

### `InvalidFragment`

A hand-built `Fragment` with `count < 2` or `index ≥ count` (`super::classify` never
yields one); it is dropped without touching any reassembly.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/framing/reassembly/enum.DiscardReason.html)
