pub struct HLSState {
pub playlist: Playlist,
pub media_playlist: Vec<u8>,
pub segment_data: HashMap<String, Vec<u8>>,
pub timestamp: u64,
}Expand description
The main state that holds all playback related data.
Fields§
§playlist: Playlist§media_playlist: Vec<u8>§segment_data: HashMap<String, Vec<u8>>§timestamp: u64MPEG-2 Program Elementary Timestamp.
Auto Trait Implementations§
impl Freeze for HLSState
impl RefUnwindSafe for HLSState
impl Send for HLSState
impl Sync for HLSState
impl Unpin for HLSState
impl UnwindSafe for HLSState
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