#[non_exhaustive]pub enum BlockType {
Unknown,
LossRLE,
DuplicateRLE,
PacketReceiptTimes,
ReceiverReferenceTime,
DLRR,
StatisticsSummary,
VoIPMetrics,
EcnSummary,
Other(u8),
}Expand description
BlockType specifies the type of report in a report block Extended Report block types from RFC 3611.
The enum converts to and from the type octet with u8::from / BlockType::from. A type
that later documents define is kept as BlockType::Other, so such a block is written
back as what it was.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unknown
No block type: the type octet 0.
LossRLE
Loss RLE report block ([RFC 3611] §4.1).
DuplicateRLE
Duplicate RLE report block ([RFC 3611] §4.2).
PacketReceiptTimes
Packet Receipt Times report block ([RFC 3611] §4.3).
ReceiverReferenceTime
Receiver Reference Time report block ([RFC 3611] §4.4).
DLRR
Delay Since Last Receiver Report block ([RFC 3611] §4.5).
StatisticsSummary
Statistics Summary report block ([RFC 3611] §4.6).
VoIPMetrics
VoIP Metrics report block ([RFC 3611] §4.7).
EcnSummary
ECN Summary Report block ([RFC 6679] §5.2).
Other(u8)
A block type this crate does not model, with its type octet.