#[non_exhaustive]pub enum EmsgVersion {
SegmentRelative,
RepresentationRelative,
}Expand description
The version byte of the 'emsg' FullBox (DASH-IF Part 10 Table 6-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.
SegmentRelative
Version 0 — segment-relative timing; carries presentation_time_delta
(u32). Strings precede the integer fields on the wire.
RepresentationRelative
Version 1 — representation/Period@start-relative timing; carries
presentation_time (u64). Integer fields precede the strings on the
wire.
Implementations§
Trait Implementations§
Source§impl Clone for EmsgVersion
impl Clone for EmsgVersion
Source§fn clone(&self) -> EmsgVersion
fn clone(&self) -> EmsgVersion
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 EmsgVersion
Source§impl Debug for EmsgVersion
impl Debug for EmsgVersion
Source§impl Display for EmsgVersion
impl Display for EmsgVersion
impl Eq for EmsgVersion
Source§impl Hash for EmsgVersion
impl Hash for EmsgVersion
Source§impl PartialEq for EmsgVersion
impl PartialEq for EmsgVersion
Source§fn eq(&self, other: &EmsgVersion) -> bool
fn eq(&self, other: &EmsgVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmsgVersion
impl Serialize for EmsgVersion
impl StructuralPartialEq for EmsgVersion
Auto Trait Implementations§
impl Freeze for EmsgVersion
impl RefUnwindSafe for EmsgVersion
impl Send for EmsgVersion
impl Sync for EmsgVersion
impl Unpin for EmsgVersion
impl UnsafeUnpin for EmsgVersion
impl UnwindSafe for EmsgVersion
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