#[non_exhaustive]pub enum SkipDirective {
Yes,
V2,
}Available on crate feature
std only.Expand description
Typed value of the _HLS_skip Delivery Directive (RFC 8216bis §6.2.5.1):
YES requests a delta update that skips older Media Segments, v2 also
skips older EXT-X-DATERANGE tags.
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.
Yes
Skip older Media Segments only (_HLS_skip=YES).
V2
Skip older Media Segments and older EXT-X-DATERANGE tags
(_HLS_skip=v2).
Implementations§
Trait Implementations§
Source§impl Clone for SkipDirective
impl Clone for SkipDirective
impl Copy for SkipDirective
Source§impl Debug for SkipDirective
impl Debug for SkipDirective
Source§impl Display for SkipDirective
impl Display for SkipDirective
impl Eq for SkipDirective
Source§impl PartialEq for SkipDirective
impl PartialEq for SkipDirective
impl StructuralPartialEq for SkipDirective
Auto Trait Implementations§
impl Freeze for SkipDirective
impl RefUnwindSafe for SkipDirective
impl Send for SkipDirective
impl Sync for SkipDirective
impl Unpin for SkipDirective
impl UnsafeUnpin for SkipDirective
impl UnwindSafe for SkipDirective
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