#[non_exhaustive]pub enum DepacketizeError {
Truncated,
OutOfOrder,
Unsupported(u8),
}Available on crate feature
ingest and (crate features rtsp or webrtc) only.Expand description
Errors surfaced while depacketizing an RTP stream.
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.
Truncated
The packet was shorter than the format requires.
OutOfOrder
A sequence-number discontinuity was detected mid-fragment; the partial access unit was dropped. The handler should request a keyframe.
Unsupported(u8)
An unsupported NAL/aggregation type was encountered.
Trait Implementations§
Source§impl Clone for DepacketizeError
impl Clone for DepacketizeError
Source§fn clone(&self) -> DepacketizeError
fn clone(&self) -> DepacketizeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DepacketizeError
Source§impl Debug for DepacketizeError
impl Debug for DepacketizeError
impl Eq for DepacketizeError
Source§impl PartialEq for DepacketizeError
impl PartialEq for DepacketizeError
Source§fn eq(&self, other: &DepacketizeError) -> bool
fn eq(&self, other: &DepacketizeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DepacketizeError
Auto Trait Implementations§
impl Freeze for DepacketizeError
impl RefUnwindSafe for DepacketizeError
impl Send for DepacketizeError
impl Sync for DepacketizeError
impl Unpin for DepacketizeError
impl UnsafeUnpin for DepacketizeError
impl UnwindSafe for DepacketizeError
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