#[non_exhaustive]pub enum HlsRequest {
Playlist {
track_id: u32,
query: BlockingQuery,
},
Resource {
name: String,
},
}Available on crate feature
std only.Expand description
ServedEgress::Request for HlsOrigin: which wire resource is
being asked for. A data-carrying dispatch ADT (matches this crate’s
client::action::Action/ResourceId convention) — see
tests/label_coverage.rs’s SKIP list.
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.
Playlist
GET <media playlist>, optionally carrying a blocking-reload query.
Fields
§
track_id: u32The track id to render the playlist for (a naming parameter only —
see DEFAULT_TRACK_ID).
§
query: BlockingQueryThe blocking-reload query parameters, if any.
Resource
GET a dynamic origin resource by its wire filename (init-{track}.mp4,
seg-{track}-{seq}.m4s, part-{track}-{seq}.{idx}.m4s).
Trait Implementations§
Source§impl Clone for HlsRequest
impl Clone for HlsRequest
Source§fn clone(&self) -> HlsRequest
fn clone(&self) -> HlsRequest
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 moreSource§impl Debug for HlsRequest
impl Debug for HlsRequest
impl Eq for HlsRequest
Source§impl PartialEq for HlsRequest
impl PartialEq for HlsRequest
impl StructuralPartialEq for HlsRequest
Auto Trait Implementations§
impl Freeze for HlsRequest
impl RefUnwindSafe for HlsRequest
impl Send for HlsRequest
impl Sync for HlsRequest
impl Unpin for HlsRequest
impl UnsafeUnpin for HlsRequest
impl UnwindSafe for HlsRequest
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