#[non_exhaustive]pub enum HlsBody {
Playlist(String),
Resource(Bytes),
}Available on crate feature
std only.Expand description
ServedEgress::Body for HlsOrigin: the resolved body, typed by
which HlsRequest produced it. A data-carrying ADT — 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(String)
A rendered Media Playlist (#EXTM3U text).
Resource(Bytes)
Resolved resource bytes (init/segment/part).
Trait Implementations§
impl Eq for HlsBody
impl StructuralPartialEq for HlsBody
Auto Trait Implementations§
impl !Freeze for HlsBody
impl RefUnwindSafe for HlsBody
impl Send for HlsBody
impl Sync for HlsBody
impl Unpin for HlsBody
impl UnsafeUnpin for HlsBody
impl UnwindSafe for HlsBody
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