Struct sunk::HlsPlaylist
source · pub struct HlsPlaylist {
pub extension: String,
pub version: usize,
pub target_duration: usize,
/* private fields */
}
Expand description
A HLS playlist file.
Fields
extension: String
The extension of the playlist metadata. Typically M3U
or M3U8
.
version: usize
The version of the HLS specification.
target_duration: usize
The target duration for HLS slices.
Implementations
Trait Implementations
sourceimpl Debug for HlsPlaylist
impl Debug for HlsPlaylist
sourceimpl FromStr for HlsPlaylist
impl FromStr for HlsPlaylist
sourceimpl Index<usize> for HlsPlaylist
impl Index<usize> for HlsPlaylist
Auto Trait Implementations
impl RefUnwindSafe for HlsPlaylist
impl Send for HlsPlaylist
impl Sync for HlsPlaylist
impl Unpin for HlsPlaylist
impl UnwindSafe for HlsPlaylist
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more