pub enum FetchSubgroupMode {
Zero,
SameAsPrior,
PriorPlusOne,
Present,
}Expand description
How an Object on a draft-16 fetch stream states its Subgroup ID.
The two least significant bits of Serialization Flags form this field; draft-16 Section 10.4.4.1 Table 5 lists the four readings. Three of them put no Subgroup ID on the wire.
Variants§
Zero
0x00 — the Subgroup ID is zero.
SameAsPrior
0x01 — the Subgroup ID is the prior Object’s Subgroup ID.
PriorPlusOne
0x02 — the Subgroup ID is the prior Object’s Subgroup ID plus one.
Present
0x03 — the Subgroup ID field is present on the wire.
Trait Implementations§
Source§impl Clone for FetchSubgroupMode
impl Clone for FetchSubgroupMode
Source§fn clone(&self) -> FetchSubgroupMode
fn clone(&self) -> FetchSubgroupMode
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 FetchSubgroupMode
Source§impl Debug for FetchSubgroupMode
impl Debug for FetchSubgroupMode
impl Eq for FetchSubgroupMode
Source§impl PartialEq for FetchSubgroupMode
impl PartialEq for FetchSubgroupMode
impl StructuralPartialEq for FetchSubgroupMode
Auto Trait Implementations§
impl Freeze for FetchSubgroupMode
impl RefUnwindSafe for FetchSubgroupMode
impl Send for FetchSubgroupMode
impl Sync for FetchSubgroupMode
impl Unpin for FetchSubgroupMode
impl UnsafeUnpin for FetchSubgroupMode
impl UnwindSafe for FetchSubgroupMode
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