#[non_exhaustive]pub enum RestrictMode {
Skip,
Jump,
}Expand description
X-RESTRICT identifier (Appendix D §D.2).
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.
Skip
SKIP — the client must not allow seeking forward or fast playback
while the interstitial plays.
Jump
JUMP — the client must not allow seeking across the interstitial’s
START-DATE without first playing it.
Implementations§
Trait Implementations§
Source§impl Clone for RestrictMode
impl Clone for RestrictMode
impl Copy for RestrictMode
Source§impl Debug for RestrictMode
impl Debug for RestrictMode
Source§impl<'de> Deserialize<'de> for RestrictMode
Available on crate feature serde only.
impl<'de> Deserialize<'de> for RestrictMode
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RestrictMode
impl Display for RestrictMode
impl Eq for RestrictMode
Source§impl PartialEq for RestrictMode
impl PartialEq for RestrictMode
Source§impl Serialize for RestrictMode
Available on crate feature serde only.
impl Serialize for RestrictMode
Available on crate feature
serde only.impl StructuralPartialEq for RestrictMode
Auto Trait Implementations§
impl Freeze for RestrictMode
impl RefUnwindSafe for RestrictMode
impl Send for RestrictMode
impl Sync for RestrictMode
impl Unpin for RestrictMode
impl UnsafeUnpin for RestrictMode
impl UnwindSafe for RestrictMode
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