#[non_exhaustive]pub enum DropCause {
Selection(DropReason),
NoInitialization,
UnboundedPlan,
Addressing(&'static str),
UnusableUrl,
CrossOrigin,
Unsupported(Unsupported),
}Expand description
Why a set or Representation is not played.
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.
Selection(DropReason)
Selection refused it (text, TS, WebM, trick mode, encryption, …).
NoInitialization
No Initialization: self-initializing segments are not supported.
UnboundedPlan
A static Representation whose segment count cannot be known.
Addressing(&'static str)
The segment information cannot be addressed (name of the error).
UnusableUrl
A URL could not be built.
CrossOrigin
A URL left the MPD origin while cross_origin_urls is off.
Unsupported(Unsupported)
A URL used a scheme this client does not fetch.
Implementations§
Trait Implementations§
impl Copy for DropCause
impl Eq for DropCause
impl StructuralPartialEq for DropCause
Auto Trait Implementations§
impl Forget for DropCause
impl Freeze for DropCause
impl Move for DropCause
impl RefUnwindSafe for DropCause
impl Send for DropCause
impl Sync for DropCause
impl Unpin for DropCause
impl UnsafeUnpin for DropCause
impl UnwindSafe for DropCause
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