pub enum Playlist {
MasterPlaylist(MasterPlaylist),
MediaPlaylist(MediaPlaylist),
}
Expand description
Playlist,
can either be a MasterPlaylist
or a MediaPlaylist
.
A Playlist is a Media Playlist if all URI lines in the Playlist identify Media Segments. A Playlist is a Master Playlist if all URI lines in the Playlist identify Media Playlists. A Playlist MUST be either a Media Playlist or a Master Playlist; all other Playlists are invalid.
Variants
MasterPlaylist(MasterPlaylist)
MediaPlaylist(MediaPlaylist)
Implementations
Trait Implementations
impl StructuralPartialEq for Playlist
Auto Trait Implementations
impl RefUnwindSafe for Playlist
impl Send for Playlist
impl Sync for Playlist
impl Unpin for Playlist
impl UnwindSafe for Playlist
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