pub enum Format {
Json,
Raw,
}Expand description
Corresponds to the #EXT-X-SESSION-DATA:FORMAT attribute.
See SessionData for a link to the HLS documentation for this attribute.
Variants§
Json
The URI MUST reference a JSON (RFC8259) format file.
Raw
The URI SHALL be treated as a binary file.
Trait Implementations§
impl Copy for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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