pub enum RtpPacketBuildError {
BufferTooSmall,
PayloadTypeInvalid,
ExtensionTooLarge,
ExtensionMissingPadding,
}
Expand description
Reasons why RtpPacketBuilder::build_info
fails
Variants§
BufferTooSmall
The target buffer is too small for the RTP packet
PayloadTypeInvalid
The given payload type is invalid or not set
ExtensionTooLarge
The extension payload is too large
ExtensionMissingPadding
The extension payload hasn’t been padded to a four byte boundary
Trait Implementations§
Source§impl Debug for RtpPacketBuildError
impl Debug for RtpPacketBuildError
Source§impl Ord for RtpPacketBuildError
impl Ord for RtpPacketBuildError
Source§fn cmp(&self, other: &RtpPacketBuildError) -> Ordering
fn cmp(&self, other: &RtpPacketBuildError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RtpPacketBuildError
impl PartialEq for RtpPacketBuildError
Source§impl PartialOrd for RtpPacketBuildError
impl PartialOrd for RtpPacketBuildError
impl Eq for RtpPacketBuildError
impl StructuralPartialEq for RtpPacketBuildError
Auto Trait Implementations§
impl Freeze for RtpPacketBuildError
impl RefUnwindSafe for RtpPacketBuildError
impl Send for RtpPacketBuildError
impl Sync for RtpPacketBuildError
impl Unpin for RtpPacketBuildError
impl UnwindSafe for RtpPacketBuildError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more