pub enum SegmentFormat {
Cmaf,
MpegTs,
PackedAudio,
}Expand description
Container / segment format for packaged media.
Variants§
Cmaf
CMAF fMP4 init + .m4s media (default).
MpegTs
MPEG-TS segments (.ts) for HLS.
PackedAudio
Packed elementary audio segments (ADTS/AC-3) for audio-only HLS.
Trait Implementations§
Source§impl Clone for SegmentFormat
impl Clone for SegmentFormat
Source§fn clone(&self) -> SegmentFormat
fn clone(&self) -> SegmentFormat
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 SegmentFormat
Source§impl Debug for SegmentFormat
impl Debug for SegmentFormat
Source§impl Default for SegmentFormat
impl Default for SegmentFormat
Source§fn default() -> SegmentFormat
fn default() -> SegmentFormat
Returns the “default value” for a type. Read more
impl Eq for SegmentFormat
Source§impl PartialEq for SegmentFormat
impl PartialEq for SegmentFormat
impl StructuralPartialEq for SegmentFormat
Auto Trait Implementations§
impl Freeze for SegmentFormat
impl RefUnwindSafe for SegmentFormat
impl Send for SegmentFormat
impl Sync for SegmentFormat
impl Unpin for SegmentFormat
impl UnsafeUnpin for SegmentFormat
impl UnwindSafe for SegmentFormat
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