pub struct SubgroupHeader {
pub header_type: StreamHeaderType,
pub track_alias: u64,
pub group_id: u64,
pub subgroup_id: Option<u64>,
pub publisher_priority: u8,
}Fields§
§header_type: StreamHeaderTypeSubgroup Header Type
track_alias: u64The track alias.
group_id: u64The group sequence number
subgroup_id: Option<u64>The subgroup sequence number
publisher_priority: u8Publisher priority, where smaller values are sent first.
Implementations§
Source§impl SubgroupHeader
impl SubgroupHeader
pub fn decode<R: Buf>( header_type: StreamHeaderType, r: &mut R, ) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Clone for SubgroupHeader
impl Clone for SubgroupHeader
Source§fn clone(&self) -> SubgroupHeader
fn clone(&self) -> SubgroupHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubgroupHeader
impl Debug for SubgroupHeader
Source§impl Encode for SubgroupHeader
impl Encode for SubgroupHeader
Source§impl PartialEq for SubgroupHeader
impl PartialEq for SubgroupHeader
impl Eq for SubgroupHeader
impl StructuralPartialEq for SubgroupHeader
Auto Trait Implementations§
impl Freeze for SubgroupHeader
impl RefUnwindSafe for SubgroupHeader
impl Send for SubgroupHeader
impl Sync for SubgroupHeader
impl Unpin for SubgroupHeader
impl UnsafeUnpin for SubgroupHeader
impl UnwindSafe for SubgroupHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.