#[non_exhaustive]pub enum PlaylistType {
Event,
Vod,
}Expand description
#EXT-X-PLAYLIST-TYPE (RFC 8216bis §4.4.3.5) mutability declaration —
MediaPlaylist-only.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Event
EVENT — segments can only be appended, never removed.
Vod
VOD (Video On Demand) — the Playlist can never change.
Implementations§
Trait Implementations§
Source§impl Clone for PlaylistType
impl Clone for PlaylistType
Source§fn clone(&self) -> PlaylistType
fn clone(&self) -> PlaylistType
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 PlaylistType
Source§impl Debug for PlaylistType
impl Debug for PlaylistType
Source§impl Display for PlaylistType
impl Display for PlaylistType
impl Eq for PlaylistType
Source§impl PartialEq for PlaylistType
impl PartialEq for PlaylistType
impl StructuralPartialEq for PlaylistType
Auto Trait Implementations§
impl Freeze for PlaylistType
impl RefUnwindSafe for PlaylistType
impl Send for PlaylistType
impl Sync for PlaylistType
impl Unpin for PlaylistType
impl UnsafeUnpin for PlaylistType
impl UnwindSafe for PlaylistType
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