struct SubgroupStreamState {
previous_object_id: Option<u64>,
carries_extension_block: bool,
}Expand description
What a subgroup header fixes for every object written after it.
Two facts, and neither is recoverable from an object on its own: the Object ID it has to advance past, and whether the stream’s type puts an extension block on each object. The second has to be remembered rather than guessed: a header type whose Extensions Present column reads Yes puts an Extension Headers Length on every object of the subgroup, so assuming “absent” would write a stream a reader could not follow.
Fields§
§previous_object_id: Option<u64>The last Object ID written, or None before the first object.
carries_extension_block: boolWhether each object writes an Extension Headers Length field.
Trait Implementations§
Source§impl Clone for SubgroupStreamState
impl Clone for SubgroupStreamState
impl Copy for SubgroupStreamState
Auto Trait Implementations§
impl Freeze for SubgroupStreamState
impl RefUnwindSafe for SubgroupStreamState
impl Send for SubgroupStreamState
impl Sync for SubgroupStreamState
impl Unpin for SubgroupStreamState
impl UnsafeUnpin for SubgroupStreamState
impl UnwindSafe for SubgroupStreamState
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