#[non_exhaustive]pub enum ResourceId {
Init {
rep: RepId,
},
Index {
rep: RepId,
},
Segment {
rep: RepId,
number: u64,
},
}Expand description
One fetchable resource; correlates an Action with the on_* call that
delivers it.
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.
Init
The Initialization Segment of a Representation. Representations whose resolved init URL and range are identical share one fetch, named by the first of them.
Index
The sidx of a SegmentBase Representation.
Segment
One Media Segment.
Implementations§
Trait Implementations§
Source§impl Clone for ResourceId
impl Clone for ResourceId
impl Copy for ResourceId
Source§impl Debug for ResourceId
impl Debug for ResourceId
impl Eq for ResourceId
Source§impl Hash for ResourceId
impl Hash for ResourceId
Source§impl Ord for ResourceId
impl Ord for ResourceId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResourceId
impl PartialEq for ResourceId
Source§impl PartialOrd for ResourceId
impl PartialOrd for ResourceId
impl StructuralPartialEq for ResourceId
Auto Trait Implementations§
impl Forget for ResourceId
impl Freeze for ResourceId
impl RefUnwindSafe for ResourceId
impl Send for ResourceId
impl Sync for ResourceId
impl Unpin for ResourceId
impl UnsafeUnpin for ResourceId
impl UnwindSafe for ResourceId
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