#[non_exhaustive]pub enum PreloadHintType {
Part,
Map,
}Expand description
TYPE attribute of #EXT-X-PRELOAD-HINT (RFC 8216bis §4.4.5.3).
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.
Part
PART — the hinted resource is a Partial Segment.
Map
MAP — the hinted resource is a Media Initialization Section.
Implementations§
Trait Implementations§
Source§impl Clone for PreloadHintType
impl Clone for PreloadHintType
Source§fn clone(&self) -> PreloadHintType
fn clone(&self) -> PreloadHintType
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 PreloadHintType
Source§impl Debug for PreloadHintType
impl Debug for PreloadHintType
Source§impl Default for PreloadHintType
impl Default for PreloadHintType
Source§fn default() -> PreloadHintType
fn default() -> PreloadHintType
Returns the “default value” for a type. Read more
Source§impl Display for PreloadHintType
impl Display for PreloadHintType
impl Eq for PreloadHintType
Source§impl PartialEq for PreloadHintType
impl PartialEq for PreloadHintType
impl StructuralPartialEq for PreloadHintType
Auto Trait Implementations§
impl Freeze for PreloadHintType
impl RefUnwindSafe for PreloadHintType
impl Send for PreloadHintType
impl Sync for PreloadHintType
impl Unpin for PreloadHintType
impl UnsafeUnpin for PreloadHintType
impl UnwindSafe for PreloadHintType
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