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 is the one that used to be guessed - always “absent” - which wrote a stream a reader could not follow whenever the header said otherwise.
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
Source§fn clone(&self) -> SubgroupStreamState
fn clone(&self) -> SubgroupStreamState
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 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