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.
Variants
Section titled “Variants”ConflictingChunk
Section titled “ConflictingChunk”The same index arrived again with different content.
ConflictingCount
Section titled “ConflictingCount”The same frag_id arrived with a different count.
TooManyFragments
Section titled “TooManyFragments”count exceeds MAX_FRAGMENTS.
TooLarge
Section titled “TooLarge”The chunks received exceed max_frame bytes.
InvalidFragment
Section titled “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
Section titled “Trait implementations”Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq