pub struct BlockingReload {
pub msn: u64,
pub part: Option<u64>,
}Expand description
A pending blocking Playlist Reload request (RFC 8216bis §6.2.5.2): the client has consumed the playlist up to (and possibly including) a given Partial Segment and wants the server to hold the response until something newer exists.
Fields§
§msn: u64_HLS_msn — Media Sequence Number of the next segment (open or not
yet begun) the client wants.
part: Option<u64>_HLS_part — 0-based Part Index within msn. None means a bare
_HLS_msn request: RFC 8216bis §6.2.5.2 says this waits for msn to
become a closed Media Segment, distinct from _HLS_part=0 (which
is satisfied by just the first part).
Trait Implementations§
Source§impl Clone for BlockingReload
impl Clone for BlockingReload
Source§fn clone(&self) -> BlockingReload
fn clone(&self) -> BlockingReload
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 moreimpl Copy for BlockingReload
Source§impl Debug for BlockingReload
impl Debug for BlockingReload
Source§impl<'de> Deserialize<'de> for BlockingReload
impl<'de> Deserialize<'de> for BlockingReload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BlockingReload
Source§impl PartialEq for BlockingReload
impl PartialEq for BlockingReload
Source§impl Serialize for BlockingReload
impl Serialize for BlockingReload
impl StructuralPartialEq for BlockingReload
Auto Trait Implementations§
impl Freeze for BlockingReload
impl RefUnwindSafe for BlockingReload
impl Send for BlockingReload
impl Sync for BlockingReload
impl Unpin for BlockingReload
impl UnsafeUnpin for BlockingReload
impl UnwindSafe for BlockingReload
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