#[non_exhaustive]pub enum SnapMode {
Out,
In,
}Expand description
X-SNAP 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.
Out
OUT — the client should locate the primary-content segment
boundary nearest the interstitial’s START-DATE and transition
there.
In
IN — the client should locate the primary-content segment boundary
nearest the scheduled resumption point and resume there.
Implementations§
Trait Implementations§
impl Copy for SnapMode
Source§impl<'de> Deserialize<'de> for SnapMode
Available on crate feature serde only.
impl<'de> Deserialize<'de> for SnapMode
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
impl Eq for SnapMode
impl StructuralPartialEq for SnapMode
Auto Trait Implementations§
impl Freeze for SnapMode
impl RefUnwindSafe for SnapMode
impl Send for SnapMode
impl Sync for SnapMode
impl Unpin for SnapMode
impl UnsafeUnpin for SnapMode
impl UnwindSafe for SnapMode
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