Enum rtcp::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 29 variants
WrongMarshalSize,
InvalidTotalLost,
InvalidHeader,
EmptyCompound,
BadFirstPacket,
MissingCname,
PacketBeforeCname,
TooManyReports,
TooManyChunks,
TooManySources,
PacketTooShort,
BufferTooShort,
WrongType,
SdesTextTooLong,
SdesMissingType,
ReasonTooLong,
BadVersion,
WrongPadding,
WrongFeedbackType,
WrongPayloadType,
HeaderTooSmall,
SsrcMustBeZero,
MissingRembIdentifier,
SsrcNumAndLengthMismatch,
InvalidSizeOrStartIndex,
DeltaExceedLimit,
PacketStatusChunkLength,
Util(Error),
Other(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Wrong marshal size.
Packet lost exceeds maximum amount of packets that can possibly be lost.
Packet contains an invalid header.
Packet contains empty compound.
Invalid first packet in compound packets. First packet should either be a SenderReport packet or ReceiverReport
CNAME was not defined.
Packet was defined before CNAME.
Too many reports.
Too many chunks.
Too many sources.
Packet received is too short.
Buffer is too short.
Wrong packet type.
SDES received is too long.
SDES type is missing.
Reason is too long.
Invalid packet version.
Invalid padding value.
Wrong feedback message type.
Wrong payload type.
Header length is too small.
Media ssrc was defined as zero.
Missing REMB identifier.
SSRC number and length mismatches.
Invalid size or start index.
Delta exceeds limit.
Packet status chunk is not 2 bytes.
Util(Error)
Tuple Fields of Util
0: Error
Other(String)
Tuple Fields of Other
0: String