pub enum RtpCapabilitiesError {
UnsupportedCodec {
mime_type: MimeType,
},
CannotAllocate,
InvalidAptParameter(Cow<'static, str>),
DuplicatedPreferredPayloadType(u8),
}
Expand description
Error caused by invalid RTP capabilities.
Variants§
UnsupportedCodec
Media codec not supported.
CannotAllocate
Cannot allocate more dynamic codec payload types.
InvalidAptParameter(Cow<'static, str>)
Invalid codec apt parameter.
DuplicatedPreferredPayloadType(u8)
Duplicated preferred payload type
Trait Implementations§
Source§impl Debug for RtpCapabilitiesError
impl Debug for RtpCapabilitiesError
Source§impl Display for RtpCapabilitiesError
impl Display for RtpCapabilitiesError
Source§impl Error for RtpCapabilitiesError
impl Error for RtpCapabilitiesError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for RtpCapabilitiesError
impl PartialEq for RtpCapabilitiesError
impl Eq for RtpCapabilitiesError
impl StructuralPartialEq for RtpCapabilitiesError
Auto Trait Implementations§
impl Freeze for RtpCapabilitiesError
impl RefUnwindSafe for RtpCapabilitiesError
impl Send for RtpCapabilitiesError
impl Sync for RtpCapabilitiesError
impl Unpin for RtpCapabilitiesError
impl UnwindSafe for RtpCapabilitiesError
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