#[non_exhaustive]pub enum FatalKind {
ClockUnavailable,
MpdInvalid {
reason: &'static str,
},
UnsupportedAddressing {
reason: &'static str,
},
SegmentFetchFailed {
id: ResourceId,
status: Option<u16>,
},
InitFetchFailed {
id: ResourceId,
status: Option<u16>,
},
NonFragmentedMp4 {
id: ResourceId,
},
}Expand description
Why the presentation cannot continue.
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.
A dynamic MPD and no UTC source at all: no UTCTiming could be read,
the host never supplied a wall clock and the MPD response carried no
usable Date. Segment availability cannot be decided (DESIGN 3.4).
MpdInvalid
The MPD has nothing a client can play.
UnsupportedAddressing
A URL derived from the MPD was refused.
SegmentFetchFailed
A segment failed the configured number of times in a row.
Fields
§
id: ResourceIdThe segment.
InitFetchFailed
An init or index failed the configured number of times in a row.
Fields
§
id: ResourceIdThe resource.
NonFragmentedMp4
A progressive MP4 was served as a media segment of a fragmented presentation.
Fields
§
id: ResourceIdThe segment.
Implementations§
Trait Implementations§
impl Eq for FatalKind
impl StructuralPartialEq for FatalKind
Auto Trait Implementations§
impl Freeze for FatalKind
impl RefUnwindSafe for FatalKind
impl Send for FatalKind
impl Sync for FatalKind
impl Unpin for FatalKind
impl UnsafeUnpin for FatalKind
impl UnwindSafe for FatalKind
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