pub enum HlsSegmentFormat {
MpegTs,
Fmp4,
}Expand description
Container used for each HLS media segment.
Variants§
MpegTs
MPEG transport stream segments, conventionally named *.ts.
Fmp4
Fragmented MP4 segments, conventionally named *.m4s, plus the
initialization file selected by HlsOptions::init_filename.
Trait Implementations§
Source§impl Clone for HlsSegmentFormat
impl Clone for HlsSegmentFormat
Source§fn clone(&self) -> HlsSegmentFormat
fn clone(&self) -> HlsSegmentFormat
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 HlsSegmentFormat
Source§impl Debug for HlsSegmentFormat
impl Debug for HlsSegmentFormat
impl Eq for HlsSegmentFormat
Source§impl PartialEq for HlsSegmentFormat
impl PartialEq for HlsSegmentFormat
impl StructuralPartialEq for HlsSegmentFormat
Auto Trait Implementations§
impl Freeze for HlsSegmentFormat
impl RefUnwindSafe for HlsSegmentFormat
impl Send for HlsSegmentFormat
impl Sync for HlsSegmentFormat
impl Unpin for HlsSegmentFormat
impl UnsafeUnpin for HlsSegmentFormat
impl UnwindSafe for HlsSegmentFormat
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