Skip to content

Enum framing::DiscardReason

zaun_community_protocol::framing::DiscardReason · Enum

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.

The same index arrived again with different content.

The same frag_id arrived with a different count.

count exceeds MAX_FRAGMENTS.

The chunks received exceed max_frame bytes.

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

Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq

Full rustdoc page