Enum rtp::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 24 variants
ErrHeaderSizeInsufficient,
ErrHeaderSizeInsufficientForExtension,
ErrBufferTooSmall,
ErrHeaderExtensionsNotEnabled,
ErrHeaderExtensionNotFound,
ErrRfc8285oneByteHeaderIdrange,
ErrRfc8285oneByteHeaderSize,
ErrRfc8285twoByteHeaderIdrange,
ErrRfc8285twoByteHeaderSize,
ErrRfc3550headerIdrange,
ErrShortPacket,
ErrNilPacket,
ErrTooManyPDiff,
ErrTooManySpatialLayers,
ErrUnhandledNaluType,
ErrH265CorruptedPacket,
ErrInvalidH265PacketType,
HeaderExtensionPayloadNot32BitWords,
AudioLevelOverflow,
PayloadIsNotLargeEnough,
StapASizeLargerThanBuffer(usize, usize),
NaluTypeIsNotHandled(u8),
Util(Error),
Other(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NaluTypeIsNotHandled(u8)
Tuple Fields of NaluTypeIsNotHandled
0: u8
Util(Error)
Tuple Fields of Util
0: Error
Other(String)
Tuple Fields of Other
0: String