pub struct Part {
pub uri: String,
pub duration: f64,
pub independent: bool,
}Available on crate feature
hls only.Expand description
One LL-HLS partial segment (#EXT-X-PART).
Fields§
§uri: StringPart URI (relative path under the stream’s storage prefix).
duration: f64Part duration in seconds.
independent: boolWhether the part begins an independent (keyframe-led) access unit, set as
INDEPENDENT=YES so a player can start decoding from it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
impl UnwindSafe for Part
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