pub enum StreamType {
H264,
H265,
Aac,
Scte35,
Unknown(u8),
}Expand description
Elementary stream type codes from ISO/IEC 13818-1.
Variants§
H264
H265
Aac
Scte35
SCTE-35 cue messages per ANSI/SCTE 35-2024 section 7 (stream_type 0x86 in the PMT). Not a media stream; payload is private-section data, not PES.
Unknown(u8)
Trait Implementations§
Source§impl Clone for StreamType
impl Clone for StreamType
Source§fn clone(&self) -> StreamType
fn clone(&self) -> StreamType
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 moreSource§impl Debug for StreamType
impl Debug for StreamType
Source§impl PartialEq for StreamType
impl PartialEq for StreamType
Source§fn eq(&self, other: &StreamType) -> bool
fn eq(&self, other: &StreamType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StreamType
impl Eq for StreamType
impl StructuralPartialEq for StreamType
Auto Trait Implementations§
impl Freeze for StreamType
impl RefUnwindSafe for StreamType
impl Send for StreamType
impl Sync for StreamType
impl Unpin for StreamType
impl UnsafeUnpin for StreamType
impl UnwindSafe for StreamType
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