#[non_exhaustive]pub enum DashClockPolicy {
Auto,
PreferHost,
}Expand description
Which clock source the ladder tries first for a dynamic MPD.
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.
Auto
UTCTiming, then the host clock, then the MPD response Date.
PreferHost
The host clock first (a host with a trusted NTP clock saves the round
trip), then UTCTiming, then the MPD response Date.
Implementations§
Trait Implementations§
Source§impl Clone for DashClockPolicy
impl Clone for DashClockPolicy
impl Copy for DashClockPolicy
Source§impl Debug for DashClockPolicy
impl Debug for DashClockPolicy
Source§impl Default for DashClockPolicy
impl Default for DashClockPolicy
Source§impl Display for DashClockPolicy
impl Display for DashClockPolicy
impl Eq for DashClockPolicy
Source§impl PartialEq for DashClockPolicy
impl PartialEq for DashClockPolicy
impl StructuralPartialEq for DashClockPolicy
Auto Trait Implementations§
impl Forget for DashClockPolicy
impl Freeze for DashClockPolicy
impl RefUnwindSafe for DashClockPolicy
impl Send for DashClockPolicy
impl Sync for DashClockPolicy
impl Unpin for DashClockPolicy
impl UnsafeUnpin for DashClockPolicy
impl UnwindSafe for DashClockPolicy
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