#[non_exhaustive]pub enum HlsRequest {
Playlist {
track_id: TrackId,
query: BlockingQuery,
},
Resource {
name: String,
},
IFramePlaylist {
track_id: TrackId,
query: BlockingQuery,
media_playlist_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
workspace-guards/tests/guards/label.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: TrackIdThe 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).
IFramePlaylist
GET <iframe playlist> for track_id, optionally carrying a
blocking-reload query.
Trait Implementations§
Source§impl Clone for HlsRequest
impl Clone for HlsRequest
Source§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 Forget for HlsRequest
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