pub enum SortOrder {
Ascending,
Descending,
}Expand description
Which way a key column is sorted.
Variants§
Ascending
Smallest first. The only order a cluster accepts today.
Descending
Largest first.
A cluster is likely to refuse this. The order exists in the
protocol, but creating a table with it was answered with
Descending sort order is not available in this context yet; it is
gated behind //sys/@config/enable_descending_sort_order, off by
default. It is here because the protocol has it, not because it works.
Implementations§
Trait Implementations§
impl Copy for SortOrder
impl Eq for SortOrder
impl StructuralPartialEq for SortOrder
Auto Trait Implementations§
impl Freeze for SortOrder
impl RefUnwindSafe for SortOrder
impl Send for SortOrder
impl Sync for SortOrder
impl Unpin for SortOrder
impl UnsafeUnpin for SortOrder
impl UnwindSafe for SortOrder
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