pub enum AnyFetchGroupOrder {
Ascending,
Descending,
}Expand description
The order a fetch response’s groups arrive in.
Drafts 18 and 19 encode an Object’s Group ID as a difference from the previous Object’s, and the direction that difference moves is the fetch’s Group Order — which is settled by the control exchange that opened the fetch and never appears on the data stream. A reader therefore has to be told, and telling it wrong does not fail to parse: every Object decodes under a Group ID walking the wrong way.
Ignored on drafts 07-17, whose fetch objects state their Group ID outright.
Variants§
Ascending
Group IDs increase along the stream; a difference is added.
Descending
Group IDs decrease along the stream; a difference is subtracted.
Trait Implementations§
Source§impl Clone for AnyFetchGroupOrder
impl Clone for AnyFetchGroupOrder
Source§fn clone(&self) -> AnyFetchGroupOrder
fn clone(&self) -> AnyFetchGroupOrder
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 AnyFetchGroupOrder
Source§impl Debug for AnyFetchGroupOrder
impl Debug for AnyFetchGroupOrder
impl Eq for AnyFetchGroupOrder
Source§impl PartialEq for AnyFetchGroupOrder
impl PartialEq for AnyFetchGroupOrder
impl StructuralPartialEq for AnyFetchGroupOrder
Auto Trait Implementations§
impl Freeze for AnyFetchGroupOrder
impl RefUnwindSafe for AnyFetchGroupOrder
impl Send for AnyFetchGroupOrder
impl Sync for AnyFetchGroupOrder
impl Unpin for AnyFetchGroupOrder
impl UnsafeUnpin for AnyFetchGroupOrder
impl UnwindSafe for AnyFetchGroupOrder
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