pub enum SegmentFormat {
Fmp4,
MpegTs,
}Expand description
Container written for a completed segment.
Variants§
Fmp4
fMP4 (init + moof/mdat), used by VOD and static HLS.
MpegTs
MPEG-TS (PAT/PMT/PES), used by live HLS.
Trait Implementations§
Source§impl Clone for SegmentFormat
impl Clone for SegmentFormat
impl Copy for SegmentFormat
Source§impl Debug for SegmentFormat
impl Debug for SegmentFormat
impl Eq for SegmentFormat
Source§impl PartialEq for SegmentFormat
impl PartialEq for SegmentFormat
impl StructuralPartialEq for SegmentFormat
Auto Trait Implementations§
impl Forget for SegmentFormat
impl Freeze for SegmentFormat
impl Move 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