pub struct SubgroupHeader {
pub stream_type: SubgroupStreamType,
pub track_alias: VarInt,
pub group_id: VarInt,
pub subgroup_id: Option<VarInt>,
pub publisher_priority: u8,
}Expand description
Subgroup stream header (§10.4.2, Figure 32).
Fields§
§stream_type: SubgroupStreamTypeType byte identifying the flag set for this stream.
track_alias: VarIntTrack alias (Section 10.1).
group_id: VarIntGroup ID.
subgroup_id: Option<VarInt>Explicit Subgroup ID — present only when the stream type sets
Subgroup ID Field Present = Yes. For types where the subgroup
ID is implicit (0 or the first Object ID), the effective
subgroup ID is resolved on the receive side by the reader.
publisher_priority: u8Publisher priority (Section 7).
Implementations§
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 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